diff options
Diffstat (limited to 'arch/sh/kernel/cf-enabler.c')
-rw-r--r-- | arch/sh/kernel/cf-enabler.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/sh/kernel/cf-enabler.c b/arch/sh/kernel/cf-enabler.c index f1f9ab87f0b0..c9b823d1d073 100644 --- a/arch/sh/kernel/cf-enabler.c +++ b/arch/sh/kernel/cf-enabler.c | |||
@@ -41,9 +41,6 @@ | |||
41 | #define slot_no 1 | 41 | #define slot_no 1 |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | /* defined in mm/ioremap.c */ | ||
45 | extern void * p3_ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags); | ||
46 | |||
47 | /* use this pointer to access to directly connected compact flash io area*/ | 44 | /* use this pointer to access to directly connected compact flash io area*/ |
48 | void *cf_io_base; | 45 | void *cf_io_base; |
49 | 46 | ||
@@ -62,7 +59,7 @@ static int __init allocate_cf_area(void) | |||
62 | return -ENOMEM; | 59 | return -ENOMEM; |
63 | } | 60 | } |
64 | /* printk("p3_ioremap(paddr=0x%08lx, psize=0x%08lx, prot=0x%08lx)=0x%08lx\n", | 61 | /* printk("p3_ioremap(paddr=0x%08lx, psize=0x%08lx, prot=0x%08lx)=0x%08lx\n", |
65 | paddrbase, psize, prot.pgprot, cf_io_base);*/ | 62 | paddrbase, psize, prot.pgprot, cf_io_base);*/ |
66 | 63 | ||
67 | /* XXX : do we need attribute and common-memory area also? */ | 64 | /* XXX : do we need attribute and common-memory area also? */ |
68 | 65 | ||