[PATCH] usb: cdns3: ep0: Fix build warnings related to cache ops

Vignesh Raghavendra vigneshr at ti.com
Thu Dec 5 08:59:25 CET 2019


Since, commit 62f9b6544728 ("common: Move older CPU functions to their own header")
cache ops functions are declared in a separate header. Include the same
to avoid build warnings.

Signed-off-by: Vignesh Raghavendra <vigneshr at ti.com>
---
 drivers/usb/cdns3/ep0.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/cdns3/ep0.c b/drivers/usb/cdns3/ep0.c
index 1903f6110388..0b6d9cf7274e 100644
--- a/drivers/usb/cdns3/ep0.c
+++ b/drivers/usb/cdns3/ep0.c
@@ -10,6 +10,7 @@
  *          Peter Chen <peter.chen at nxp.com>
  */
 
+#include <cpu_func.h>
 #include <linux/usb/composite.h>
 #include <linux/iopoll.h>
 
-- 
2.24.0



More information about the U-Boot mailing list