diff options
| author | 2013-06-19 17:38:13 +0200 | |
|---|---|---|
| committer | 2013-07-29 13:53:20 +0300 | |
| commit | 6904b845e27830ea0dc8d00fada5a3f478924ea3 (patch) | |
| tree | 390e72521d3528c8fbabaa99239c65810569c7e7 /include/linux | |
| parent | usb: musb: provide empty dma_controller_create() in PIO mode (diff) | |
usb: musb: remove a few is_dma_capable() in init/exit code
This patch removes is_dma_capable() and an ifdef in the init/exit path
around init/de-init of the dma_controller. Since we have the empty stubs
in the PIO code we can call it without gcc trouble. Earlier we had an
ifdef and the is_dma_capable() macro where gcc ignored the if (0) path
even that the function was not around :)
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
