X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fsh%2Fboards%2Frenesas%2Frts7751r2d%2Fmach.c;h=1efc18e786d51145db81e383cd0af96b0186762e;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=c1ff45407ab4ba7aa5452c84512276c04ba00e53;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;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..1efc18e78 100644 --- a/arch/sh/boards/renesas/rts7751r2d/mach.c +++ b/arch/sh/boards/renesas/rts7751r2d/mach.c @@ -24,7 +24,7 @@ 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 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)