S3C24XX: Define a macro to avoid compilation error
Subsystems (2)
PATCH 1/1 S3C24XX: Define a macro to avoid compilation error
Define a macro to avoid the following error during kernel build process for platforms other than s3c2410:
arch/arm/plat-s3c24xx/cpu.c:84: error: ?s3c2410a_init? undeclared here (not in a function)
Signed-off-by Ramax Lo <[email protected]>
--- arch/arm/plat-s3c24xx/include/plat/s3c2410.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-s3c24xx/include/plat/s3c2410.h +1 -0
@@ -27,6 +27,7 @@ extern void s3c2410_init_clocks(int xtal);#define s3c2410_init_uarts NULL#define s3c2410_map_io NULL#define s3c2410_init NULL +#define s3c2410a_init NULL#endif extern int s3c2410_baseclk_add (void );
Signature · 1 line
1.5.4.3
PATCH 1/1 S3C24XX: Define a macro to avoid compilation error
Quoted 6 lines · Ramax Lo
Define a macro to avoid the following error during kernel build process for platforms other than s3c2410:
arch/arm/plat-s3c24xx/cpu.c:84: error: ???s3c2410a_init??? undeclared here (not in a function)Signed-off-by Ramax Lo <[email protected]>
ok, applied to next-s3c24xx-fixes.
Signature · 4 lines
Ben Q: What's a light-year? A: One-third less calories than a regular year.