From: Sebastian Andrzej Siewior Date: Wed, 19 Jun 2013 15:38:13 +0000 (+0200) Subject: usb: musb: remove a few is_dma_capable() in init/exit code X-Git-Tag: v3.12-rc1~186^2~77^2~96 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6904b845e27830ea0dc8d00fada5a3f478924ea3;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed