]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ARM: 5748/1: bcmring: fix build warning messages
authorLeo Chen <leochen@broadcom.com>
Tue, 6 Oct 2009 18:30:40 +0000 (19:30 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 7 Oct 2009 12:13:01 +0000 (13:13 +0100)
Fix the warning messages during kernel build for bcmring.

Signed-off-by: Leo Hao Chen <leochen@broadcom.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-bcmring/core.c
arch/arm/mach-bcmring/include/mach/system.h

index 4b4f69251b313a07676a6dcef5b19418c9c3c379..e590bbe0a7b46acb51e42baba1c5344239a29753 100644 (file)
@@ -271,12 +271,12 @@ static struct irqaction bcmring_timer_irq = {
        .handler = bcmring_timer_interrupt,
 };
 
-static cycle_t bcmring_get_cycles_timer1(void)
+static cycle_t bcmring_get_cycles_timer1(struct clocksource *cs)
 {
        return ~readl(TIMER1_VA_BASE + TIMER_VALUE);
 }
 
-static cycle_t bcmring_get_cycles_timer3(void)
+static cycle_t bcmring_get_cycles_timer3(struct clocksource *cs)
 {
        return ~readl(TIMER3_VA_BASE + TIMER_VALUE);
 }
index cdbf93c694a64ae9ef7fddac96e06359af65b71a..38b37060d42683a9f09d9340ad001914410b4e25 100644 (file)
@@ -29,7 +29,7 @@ static inline void arch_idle(void)
        cpu_do_idle();
 }
 
-static inline void arch_reset(char mode, char *cmd)
+static inline void arch_reset(char mode, const char *cmd)
 {
        printk("arch_reset:%c %x\n", mode, bcmring_arch_warm_reboot);