diff options
author | Igor Grinberg <grinberg@compulab.co.il> | 2017-12-26 13:45:36 +0100 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2018-03-07 14:19:47 +0100 |
commit | 69a90f49372b5932852cb2f4f48b6effcf66b042 (patch) | |
tree | c6c5a7b1c0fe69b0643a8c3431136681355ea95a /arch/arm/mach-pxa/cm-x300.c | |
parent | ARM: pxa: fix static checker warning in pxa3xx-ulpi (diff) | |
download | linux-69a90f49372b5932852cb2f4f48b6effcf66b042.tar.xz linux-69a90f49372b5932852cb2f4f48b6effcf66b042.zip |
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>
Diffstat (limited to 'arch/arm/mach-pxa/cm-x300.c')
-rw-r--r-- | arch/arm/mach-pxa/cm-x300.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c index c487401b6fdb..01fdcc88d48f 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; |