소스 검색

usb: musb: cleanup cppi_dma header

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>
Bin Liu 9 년 전
부모
커밋
460ddbec8f
2개의 변경된 파일1개의 추가작업 그리고 8개의 파일을 삭제
  1. 1 0
      drivers/usb/musb/cppi_dma.c
  2. 0 8
      drivers/usb/musb/cppi_dma.h

+ 1 - 0
drivers/usb/musb/cppi_dma.c

@@ -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:

+ 0 - 8
drivers/usb/musb/cppi_dma.h

@@ -11,14 +11,6 @@
 #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 {