diff options
| author | Kumar Gala <galak@kernel.crashing.org> | 2009-04-22 14:44:24 -0400 |
|---|---|---|
| committer | Kumar Gala <galak@kernel.crashing.org> | 2009-05-19 01:47:19 -0400 |
| commit | ca851c783ccf9784fb6ffebcb25e2b6fd0b8dccc (patch) | |
| tree | cb3fe80b3146be3c6dbebd97b26c6c1f89bc7c33 /arch/powerpc/sysdev | |
| parent | 89d93347d1f66832c43e6b25a669fddff89929b5 (diff) | |
powerpc/cpm: Remove some cruft code and defines
Kill of some old defines and macros that we no longer use like
CPM_MAP_ADDR and CPM_IRQ_OFFSET.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/sysdev')
| -rw-r--r-- | arch/powerpc/sysdev/cpm2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/cpm2.c b/arch/powerpc/sysdev/cpm2.c index fd969f0e3121..eb5927212fab 100644 --- a/arch/powerpc/sysdev/cpm2.c +++ b/arch/powerpc/sysdev/cpm2.c | |||
| @@ -61,7 +61,7 @@ EXPORT_SYMBOL(cpm2_immr); | |||
| 61 | void __init cpm2_reset(void) | 61 | void __init cpm2_reset(void) |
| 62 | { | 62 | { |
| 63 | #ifdef CONFIG_PPC_85xx | 63 | #ifdef CONFIG_PPC_85xx |
| 64 | cpm2_immr = ioremap(CPM_MAP_ADDR, CPM_MAP_SIZE); | 64 | cpm2_immr = ioremap(get_immrbase() + 0x80000, CPM_MAP_SIZE); |
| 65 | #else | 65 | #else |
| 66 | cpm2_immr = ioremap(get_immrbase(), CPM_MAP_SIZE); | 66 | cpm2_immr = ioremap(get_immrbase(), CPM_MAP_SIZE); |
| 67 | #endif | 67 | #endif |
