ARM: pxa: cm-x300: remove inline directive
authorIgor Grinberg <grinberg@compulab.co.il>
Tue, 26 Dec 2017 12:45:36 +0000 (14:45 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 7 Mar 2018 13:19:47 +0000 (14:19 +0100)
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>
arch/arm/mach-pxa/cm-x300.c

index c487401..01fdcc8 100644 (file)
@@ -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;