diff options
Diffstat (limited to 'arch/sh/boards/renesas/rts7751r2d/mach.c')
-rw-r--r-- | arch/sh/boards/renesas/rts7751r2d/mach.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/sh/boards/renesas/rts7751r2d/mach.c b/arch/sh/boards/renesas/rts7751r2d/mach.c index 610740512d56ae..17548dd48297be 100644 --- a/arch/sh/boards/renesas/rts7751r2d/mach.c +++ b/arch/sh/boards/renesas/rts7751r2d/mach.c @@ -16,15 +16,16 @@ #include <asm/machvec.h> #include <asm/rtc.h> #include <asm/irq.h> -#include <asm/rts7751r2d/io.h> +#include <asm/mach/rts7751r2d.h> extern void heartbeat_rts7751r2d(void); extern void init_rts7751r2d_IRQ(void); -extern void *rts7751r2d_ioremap(unsigned long, unsigned long); extern int rts7751r2d_irq_demux(int irq); +#ifdef CONFIG_USB_SM501 extern void *voyagergx_consistent_alloc(struct device *, size_t, dma_addr_t *, gfp_t); extern int voyagergx_consistent_free(struct device *, size_t, void *, dma_addr_t); +#endif /* * The Machine Vector @@ -54,15 +55,13 @@ struct sh_machine_vector mv_rts7751r2d __initmv = { .mv_outsw = rts7751r2d_outsw, .mv_outsl = rts7751r2d_outsl, - .mv_ioremap = rts7751r2d_ioremap, - .mv_isa_port2addr = rts7751r2d_isa_port2addr, .mv_init_irq = init_rts7751r2d_IRQ, #ifdef CONFIG_HEARTBEAT .mv_heartbeat = heartbeat_rts7751r2d, #endif .mv_irq_demux = rts7751r2d_irq_demux, -#ifdef CONFIG_USB_OHCI_HCD +#ifdef CONFIG_USB_SM501 .mv_consistent_alloc = voyagergx_consistent_alloc, .mv_consistent_free = voyagergx_consistent_free, #endif |