summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/cpu-db9500.c
diff options
context:
space:
mode:
authorBernhard Rosenkranzer <bernhard.rosenkranzer@linaro.org>2012-04-17 10:38:00 -0600
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-04-18 13:41:31 +0200
commit12029903190de8f1a640f84317f0157941ed0151 (patch)
tree373b66297bdb6a1d69c175f946abbc1cfb36b699 /arch/arm/mach-ux500/cpu-db9500.c
parent347a60dad1656c01b38dac51f726b526a5d71fe8 (diff)
inlining without body is not allowed with gcc 4.7
Adding 'inline' before a function requires that the body be provided in the same file when using gcc 4.7. Signed-off-by: Bernhard Rosenkranzer <bernhard.rosenkranzer@linaro.org> Committed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/cpu-db9500.c')
-rw-r--r--arch/arm/mach-ux500/cpu-db9500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/cpu-db9500.c b/arch/arm/mach-ux500/cpu-db9500.c
index 1bbc9b40c1b..4d900cbe537 100644
--- a/arch/arm/mach-ux500/cpu-db9500.c
+++ b/arch/arm/mach-ux500/cpu-db9500.c
@@ -19,7 +19,7 @@
* U9500 is currently using U8500v2 HW. Therefore, the platform detection
* is based on the kernel cmd line setting (early_param "pinsfor").
*/
-inline bool cpu_is_u9500()
+bool cpu_is_u9500()
{
if (pins_for_u9500())
return true;