projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81d4af1
)
[PATCH] ppc32 8xx: fix warnings in m8xx_setup.c
author
Marcelo Tosatti
<marcelo.tosatti@cyclades.com>
Tue, 30 Aug 2005 16:40:22 +0000
(13:40 -0300)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 30 Aug 2005 18:15:19 +0000
(11:15 -0700)
The following patch fixes two warnings in arch/ppc/syslib/m8xx_setup.c
Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/syslib/m8xx_setup.c
patch
|
blob
|
history
diff --git
a/arch/ppc/syslib/m8xx_setup.c
b/arch/ppc/syslib/m8xx_setup.c
index
a3702cf
..
4c888da
100644
(file)
--- a/
arch/ppc/syslib/m8xx_setup.c
+++ b/
arch/ppc/syslib/m8xx_setup.c
@@
-57,7
+57,7
@@
unsigned char __res[sizeof(bd_t)];
extern void m8xx_ide_init(void);
extern unsigned long find_available_memory(void);
-extern void m8xx_cpm_reset();
+extern void m8xx_cpm_reset(
void
);
extern void m8xx_wdt_handler_install(bd_t *bp);
extern void rpxfb_alloc_pages(void);
extern void cpm_interrupt_init(void);
@@
-266,8
+266,8
@@
m8xx_show_percpuinfo(struct seq_file *m, int i)
bp = (bd_t *)__res;
- seq_printf(m, "clock\t\t: %
ld
MHz\n"
- "bus clock\t: %
ld
MHz\n",
+ seq_printf(m, "clock\t\t: %
u
MHz\n"
+ "bus clock\t: %
u
MHz\n",
bp->bi_intfreq / 1000000,
bp->bi_busfreq / 1000000);