From: Igor Grinberg Date: Tue, 26 Dec 2017 12:45:36 +0000 (+0200) Subject: ARM: pxa: cm-x300: remove inline directive X-Git-Tag: v4.19~1282^2~32^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69a90f49372b5932852cb2f4f48b6effcf66b042;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Robert Jarzmik --- diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c index c487401..01fdcc8 100644 --- a/arch/arm/mach-pxa/cm-x300.c +++ b/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;