]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: renesas_usbhs: fix DMA build by including dma-mapping.h
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 4 Aug 2011 04:41:26 +0000 (21:41 -0700)
committerFelipe Balbi <balbi@ti.com>
Fri, 12 Aug 2011 08:52:48 +0000 (11:52 +0300)
commitcf6808cb09e72fa7ee8713bf48219a2eb98da91b
tree938225c07124c454c39c58eeee363e5af8deea59
parentf847a79ab3c1faca3022061045cd22e4678c1b1c
usb: gadget: renesas_usbhs: fix DMA build by including dma-mapping.h

Include dma-mapping.h to fix build of the renesas_usbhs driver

| CC      drivers/usb/renesas_usbhs/mod_gadget.o
| drivers/usb/renesas_usbhs/mod_gadget.c: In function 'usbhsg_dma_map':
| drivers/usb/renesas_usbhs/mod_gadget.c:190: error: implicit declaration of function 'dma_map_single'
| drivers/usb/renesas_usbhs/mod_gadget.c:192: error: implicit declaration of function 'dma_sync_single_for_device'
| drivers/usb/renesas_usbhs/mod_gadget.c:196: error: implicit declaration of function 'dma_mapping_error'
| drivers/usb/renesas_usbhs/mod_gadget.c: In function 'usbhsg_dma_unmap':
| drivers/usb/renesas_usbhs/mod_gadget.c:217: error: implicit declaration of function 'dma_unmap_single'
| drivers/usb/renesas_usbhs/mod_gadget.c:219: error: implicit declaration of function 'dma_sync_single_for_cpu'
| make[5]: *** [drivers/usb/renesas_usbhs/mod_gadget.o] Error 1
| make[4]: *** [drivers/usb/renesas_usbhs] Error 2

Reported-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/mod_gadget.c