summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/mach-n30.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2005-09-20 18:24:33 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-09-20 18:24:33 +0200
commit5fe10ab19046d84f3fd243436cbd5fa01019e809 (patch)
tree3b79a956940cf021801f9c8ae757d77b996c4355 /arch/arm/mach-s3c2410/mach-n30.c
parent[ARM] 2927/1: .arch.info - postfix section with .init for `make buildcheck` (diff)
downloadlinux-5fe10ab19046d84f3fd243436cbd5fa01019e809.tar.xz
linux-5fe10ab19046d84f3fd243436cbd5fa01019e809.zip
[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-n30.c')
-rw-r--r--arch/arm/mach-s3c2410/mach-n30.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c2410/mach-n30.c
index 66bf5bb2b3db..5c0f2b091f95 100644
--- a/arch/arm/mach-s3c2410/mach-n30.c
+++ b/arch/arm/mach-s3c2410/mach-n30.c
@@ -97,7 +97,7 @@ static struct s3c24xx_board n30_board __initdata = {
.devices_count = ARRAY_SIZE(n30_devices)
};
-void __init n30_map_io(void)
+static void __init n30_map_io(void)
{
s3c24xx_init_io(n30_iodesc, ARRAY_SIZE(n30_iodesc));
s3c24xx_init_clocks(0);
@@ -105,14 +105,14 @@ void __init n30_map_io(void)
s3c24xx_set_board(&n30_board);
}
-void __init n30_init_irq(void)
+static void __init n30_init_irq(void)
{
s3c24xx_init_irq();
}
/* GPB3 is the line that controls the pull-up for the USB D+ line */
-void __init n30_init(void)
+static void __init n30_init(void)
{
s3c_device_i2c.dev.platform_data = &n30_i2ccfg;