ARM: pxa: cm-x300: remove inline directive
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- arch/arm/mach-pxa/cm-x300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-pxa/cm-x300.c +1 -1
@@ -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 ;
Signature · 1 line
2.13.6
PATCH 1/1 ARM: pxa: cm-x300: remove inline directive
Quoted 15 lines · Igor Grinberg
cm_x300_u2d_init()function is only used through its function pointer that is passed throughplatform_datastructure to the driver. Therefore it can never be inlined.
Remove the inline directive.Signed-off-by Igor Grinberg <[email protected]>--- arch/arm/mach-pxa/cm-x300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-pxa/cm-x300.c +0
-0
arch/arm/mach-pxa/cm-x300.c static int cm_x300_ulpi_phy_reset(void) · line 514
Quoted 7 lines
arch/arm/mach-pxa/cm-x300.c +1
-1@@ -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 ;
Applied to pxa/for-next, thanks.
Cheers.
Signature · 1 line
Robert