aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorGravatar Arnd Bergmann <arnd@arndb.de> 2019-08-06 14:34:31 +0200
committerGravatar Arnd Bergmann <arnd@arndb.de> 2022-04-21 15:00:59 +0200
commite8e77e97507bf3ec5419b8067d242b538cf75cba (patch)
treef0504d4b1bbbdf3c216f9f08dd63f2a7bb219f1c /drivers/usb/gadget
parentARM: omap1: ams-delta: remove camera leftovers (diff)
downloadlinux-e8e77e97507bf3ec5419b8067d242b538cf75cba.tar.gz
linux-e8e77e97507bf3ec5419b8067d242b538cf75cba.tar.bz2
linux-e8e77e97507bf3ec5419b8067d242b538cf75cba.zip
ARM: omap1: move mach/usb.h to include/linux/soc
The register definitions in this header are used in at least four different places, with little hope of completely cleaning that up. Split up the file into a portion that becomes a linux-wide header under include/linux/soc/ti/, and the parts that are actually only needed by board files. Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/udc/omap_udc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/gadget/udc/omap_udc.c b/drivers/usb/gadget/udc/omap_udc.c
index 2d9815dad2ff..b1da584585cf 100644
--- a/drivers/usb/gadget/udc/omap_udc.c
+++ b/drivers/usb/gadget/udc/omap_udc.c
@@ -40,8 +40,9 @@
#include <asm/mach-types.h>
#include <linux/omap-dma.h>
+#include <linux/platform_data/usb-omap1.h>
-#include <mach/usb.h>
+#include <linux/soc/ti/omap1-usb.h>
#include "omap_udc.h"