X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fsh%2Fboards%2Frenesas%2Frts7751r2d%2Fmach.c;h=610740512d56aeb9c967ba24dea4273ae807288c;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=c1ff45407ab4ba7aa5452c84512276c04ba00e53;hpb=5fc42a6ed0ec81088c37caadb45898ae6cd0ad2c;p=linux-2.6.git diff --git a/arch/sh/boards/renesas/rts7751r2d/mach.c b/arch/sh/boards/renesas/rts7751r2d/mach.c index c1ff45407..610740512 100644 --- a/arch/sh/boards/renesas/rts7751r2d/mach.c +++ b/arch/sh/boards/renesas/rts7751r2d/mach.c @@ -23,8 +23,8 @@ extern void init_rts7751r2d_IRQ(void); extern void *rts7751r2d_ioremap(unsigned long, unsigned long); extern int rts7751r2d_irq_demux(int irq); -extern void *voyagergx_consistent_alloc(struct device *, size_t, dma_addr_t *, int); -extern void voyagergx_consistent_free(struct device *, size_t, void *, dma_addr_t); +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); /* * The Machine Vector @@ -62,7 +62,9 @@ struct sh_machine_vector mv_rts7751r2d __initmv = { #endif .mv_irq_demux = rts7751r2d_irq_demux, +#ifdef CONFIG_USB_OHCI_HCD .mv_consistent_alloc = voyagergx_consistent_alloc, .mv_consistent_free = voyagergx_consistent_free, +#endif }; ALIAS_MV(rts7751r2d)