aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/s3c2440.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2005-10-13 16:46:35 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-13 16:46:35 +0100
commit3a8f675c40ba2d04e4fff6710db3da763436269f (patch)
treed1215879e5672b2a4287bcfd398fb3cbb10968de /arch/arm/mach-s3c2410/s3c2440.c
parent[ARM] 3005/1: S3C2440 - add definition for s3c2440_set_dsc() call in hardware.h (diff)
downloadlinux-dev-3a8f675c40ba2d04e4fff6710db3da763436269f.tar.xz
linux-dev-3a8f675c40ba2d04e4fff6710db3da763436269f.zip
[ARM] 3006/1: S3C2410 - arch/arm/mach-s3c2410 sparse fixes
Patch from Ben Dooks Remove an unused variable from s3c2410.c and ensure that items not needed to be exported from s3c2440.c are declared static. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to '')
-rw-r--r--arch/arm/mach-s3c2410/s3c2440.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2410/s3c2440.c b/arch/arm/mach-s3c2410/s3c2440.c
index d4c8281b55f6..833fa36bce05 100644
--- a/arch/arm/mach-s3c2410/s3c2440.c
+++ b/arch/arm/mach-s3c2410/s3c2440.c
@@ -151,7 +151,7 @@ void __init s3c2440_init_uarts(struct s3c2410_uartcfg *cfg, int no)
#ifdef CONFIG_PM
-struct sleep_save s3c2440_sleep[] = {
+static struct sleep_save s3c2440_sleep[] = {
SAVE_ITEM(S3C2440_DSC0),
SAVE_ITEM(S3C2440_DSC1),
SAVE_ITEM(S3C2440_GPJDAT),
@@ -260,7 +260,7 @@ void __init s3c2440_init_clocks(int xtal)
* as a driver which may support both 2410 and 2440 may try and use it.
*/
-int __init s3c2440_core_init(void)
+static int __init s3c2440_core_init(void)
{
return sysdev_class_register(&s3c2440_sysclass);
}