usb: musb: cleanup cppi_dma header
authorBin Liu <b-liu@ti.com>
Thu, 30 Jun 2016 17:12:28 +0000 (12:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Jul 2016 23:23:57 +0000 (08:23 +0900)
davinci.h is not required by cppi_dma.h but cppi_dma.c, so move the
include to the right place.

Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/cppi_dma.c
drivers/usb/musb/cppi_dma.h

index 5da93ece9cd16d53d29e32d6f5cb00e1ab5ca050..1ae48e64e975867a6eb03afffa92260319595b06 100644 (file)
@@ -14,6 +14,7 @@
 #include "musb_core.h"
 #include "musb_debug.h"
 #include "cppi_dma.h"
+#include "davinci.h"
 
 
 /* CPPI DMA status 7-mar-2006:
index 59bf949e589b85a086be064ffb037a77bedc7e24..40c31cecc8b71dae84669a2dbcdcb116be160d0b 100644 (file)
 #include "musb_dma.h"
 #include "musb_core.h"
 
-
-/* FIXME fully isolate CPPI from DaVinci ... the "CPPI generic" registers
- * would seem to be shared with the TUSB6020 (over VLYNQ).
- */
-
-#include "davinci.h"
-
-
 /* CPPI RX/TX state RAM */
 
 struct cppi_tx_stateram {