diff options
author | Andrzej Zaborowski <balrog@zabor.org> | 2008-11-19 17:09:45 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:09:45 +0000 |
commit | 414caf3e9799dd1647ba902d8c285ea85d61983b (patch) | |
tree | dff2e798ade73017d2f4f723db4da2a480345104 /arch/arm/plat-s3c24xx | |
parent | b155417c6624894294bd972eb10e928c645043cb (diff) |
Subject: [PATCH] Build fixes.
Diffstat (limited to 'arch/arm/plat-s3c24xx')
-rw-r--r-- | arch/arm/plat-s3c24xx/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/plat-s3c24xx/time.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/plat-s3c24xx/Kconfig b/arch/arm/plat-s3c24xx/Kconfig index a986748860d..b0fe896440d 100644 --- a/arch/arm/plat-s3c24xx/Kconfig +++ b/arch/arm/plat-s3c24xx/Kconfig @@ -30,7 +30,7 @@ config S3C24XX_DCLK config CPU_S3C244X bool - depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442) + default y if CPU_S3C2440 || CPU_S3C2442 help Support for S3C2440 and S3C2442 Samsung Mobile CPU based systems. diff --git a/arch/arm/plat-s3c24xx/time.c b/arch/arm/plat-s3c24xx/time.c index 410937f8c4b..c0de5e41eda 100644 --- a/arch/arm/plat-s3c24xx/time.c +++ b/arch/arm/plat-s3c24xx/time.c @@ -200,12 +200,12 @@ static void s3c2410_timer_setup (void) pclk = clk_get_rate(clk); - printk("pclk = %d\n", pclk); + printk("pclk = %lu\n", pclk); /* configure clock tick */ timer_usec_ticks = timer_mask_usec_ticks(6, pclk); - printk("timer_usec_ticks = %d\n", timer_usec_ticks); + printk("timer_usec_ticks = %lu\n", timer_usec_ticks); tcfg1 &= ~S3C2410_TCFG1_MUX4_MASK; tcfg1 |= S3C2410_TCFG1_MUX4_DIV2; |