aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/mach-sh03/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/boards/mach-sh03/setup.c')
-rw-r--r--arch/sh/boards/mach-sh03/setup.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/sh/boards/mach-sh03/setup.c b/arch/sh/boards/mach-sh03/setup.c
index 0d0b37f9fea4..42550bb5505d 100644
--- a/arch/sh/boards/mach-sh03/setup.c
+++ b/arch/sh/boards/mach-sh03/setup.c
@@ -21,14 +21,6 @@ static void __init init_sh03_IRQ(void)
21 plat_irq_setup_pins(IRQ_MODE_IRQ); 21 plat_irq_setup_pins(IRQ_MODE_IRQ);
22} 22}
23 23
24static void __iomem *sh03_ioport_map(unsigned long port, unsigned int size)
25{
26 if (PXSEG(port))
27 return (void __iomem *)port;
28
29 return (void __iomem *)(port + PCI_IO_BASE);
30}
31
32/* arch/sh/boards/sh03/rtc.c */ 24/* arch/sh/boards/sh03/rtc.c */
33void sh03_time_init(void); 25void sh03_time_init(void);
34 26
@@ -99,6 +91,5 @@ static struct sh_machine_vector mv_sh03 __initmv = {
99 .mv_name = "Interface (CTP/PCI-SH03)", 91 .mv_name = "Interface (CTP/PCI-SH03)",
100 .mv_setup = sh03_setup, 92 .mv_setup = sh03_setup,
101 .mv_nr_irqs = 48, 93 .mv_nr_irqs = 48,
102 .mv_ioport_map = sh03_ioport_map,
103 .mv_init_irq = init_sh03_IRQ, 94 .mv_init_irq = init_sh03_IRQ,
104}; 95};