summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/mach-rx3715.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-rx3715.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-rx3715.c')
-rw-r--r--arch/arm/mach-s3c2410/mach-rx3715.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2410/mach-rx3715.c b/arch/arm/mach-s3c2410/mach-rx3715.c
index a73d61c1de46..22d9e070fd68 100644
--- a/arch/arm/mach-s3c2410/mach-rx3715.c
+++ b/arch/arm/mach-s3c2410/mach-rx3715.c
@@ -16,6 +16,7 @@
* 14-Jan-2005 BJD Added new clock init
* 10-Mar-2005 LCVR Changed S3C2410_VA to S3C24XX_VA
* 14-Mar-2005 BJD Fixed __iomem warnings
+ * 20-Sep-2005 BJD Added static to non-exported items
*/
#include <linux/kernel.h>
@@ -108,7 +109,7 @@ static struct s3c24xx_board rx3715_board __initdata = {
.devices_count = ARRAY_SIZE(rx3715_devices)
};
-void __init rx3715_map_io(void)
+static void __init rx3715_map_io(void)
{
s3c24xx_init_io(rx3715_iodesc, ARRAY_SIZE(rx3715_iodesc));
s3c24xx_init_clocks(16934000);
@@ -116,7 +117,7 @@ void __init rx3715_map_io(void)
s3c24xx_set_board(&rx3715_board);
}
-void __init rx3715_init_irq(void)
+static void __init rx3715_init_irq(void)
{
s3c24xx_init_irq();
}