[ARM] S3C24XX: Compilation fix if s3c2410 is not selected
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Fri, 8 Aug 2008 20:34:10 +0000 (21:34 +0100)
committerBen Dooks <ben-linux@fluff.org>
Sat, 9 Aug 2008 12:51:40 +0000 (13:51 +0100)
This patch fixes compilation error if no s3c2410 processor is selected
but the s3c244x is selected. The function s3c2410_baseclk_add() is now
available for all Samsung cpus.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
[ben-linux@fluff.org: Whitespace and description fixups]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
include/asm-arm/plat-s3c24xx/s3c2410.h

index 36de0b8..3cd1ec6 100644 (file)
@@ -21,11 +21,11 @@ extern void s3c2410_init_uarts(struct s3c2410_uartcfg *cfg, int no);
 
 extern void s3c2410_init_clocks(int xtal);
 
-extern  int s3c2410_baseclk_add(void);
-
 #else
 #define s3c2410_init_clocks NULL
 #define s3c2410_init_uarts NULL
 #define s3c2410_map_io NULL
 #define s3c2410_init NULL
 #endif
+
+extern int s3c2410_baseclk_add(void);