aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2410/mach-smdk2440.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2005-09-20 17:24:33 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-09-20 17:24:33 +0100
commit5fe10ab19046d84f3fd243436cbd5fa01019e809 (patch)
tree3b79a956940cf021801f9c8ae757d77b996c4355 /arch/arm/mach-s3c2410/mach-smdk2440.c
parent9d0fd1eb8a3c19f3ede5418540b3c9f64fac4b86 (diff)
[ARM] 2928/1: S3C2410 - make machine init code static
Patch from Ben Dooks This code is not being exported, declare it static Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-smdk2440.c')
-rw-r--r--arch/arm/mach-s3c2410/mach-smdk2440.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2410/mach-smdk2440.c b/arch/arm/mach-s3c2410/mach-smdk2440.c
index 357522106f6..722ef46b630 100644
--- a/arch/arm/mach-s3c2410/mach-smdk2440.c
+++ b/arch/arm/mach-s3c2410/mach-smdk2440.c
@@ -18,6 +18,7 @@
* 22-Feb-2005 BJD Updated for 2.6.11-rc5 relesa
* 10-Mar-2005 LCVR Replaced S3C2410_VA by S3C24XX_VA
* 14-Mar-2005 BJD void __iomem fixes
+ * 20-Sep-2005 BJD Added static to non-exported items
*/
#include <linux/kernel.h>
@@ -98,7 +99,7 @@ static struct s3c24xx_board smdk2440_board __initdata = {
.devices_count = ARRAY_SIZE(smdk2440_devices)
};
-void __init smdk2440_map_io(void)
+static void __init smdk2440_map_io(void)
{
s3c24xx_init_io(smdk2440_iodesc, ARRAY_SIZE(smdk2440_iodesc));
s3c24xx_init_clocks(16934400);
@@ -106,7 +107,7 @@ void __init smdk2440_map_io(void)
s3c24xx_set_board(&smdk2440_board);
}
-void __init smdk2440_machine_init(void)
+static void __init smdk2440_machine_init(void)
{
/* Configure the LEDs (even if we have no LED support)*/