Browse Source

ARM: pxa: cm-x300: remove inline directive

cm_x300_u2d_init() function is only used through its function pointer
that is passed through platform_data structure to the driver.
Therefore it can never be inlined.
Remove the inline directive.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Igor Grinberg 7 years ago
parent
commit
69a90f4937
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/mach-pxa/cm-x300.c

+ 1 - 1
arch/arm/mach-pxa/cm-x300.c

@@ -509,7 +509,7 @@ static int cm_x300_ulpi_phy_reset(void)
 	return 0;
 }
 
-static inline int cm_x300_u2d_init(struct device *dev)
+static int cm_x300_u2d_init(struct device *dev)
 {
 	int err = 0;