aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorIgor Grinberg2017-12-26 14:45:36 +0200
committerRobert Jarzmik2018-03-07 14:19:47 +0100
commit69a90f49372b5932852cb2f4f48b6effcf66b042 (patch)
treec6c5a7b1c0fe69b0643a8c3431136681355ea95a /arch
parent6d07f1911e545e77bd57b30590742ad9517ab323 (diff)
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')
-rw-r--r--arch/arm/mach-pxa/cm-x300.c2
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;