Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d82f3e3c authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: glue layers shouldn't know about the core IP



remove inclusion of "core.h" from all glue
layers as they don't need to know details
about the core IP.

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 2c2dc89c
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -23,8 +23,6 @@
#include <linux/usb/nop-usb-xceiv.h>
#include <linux/usb/nop-usb-xceiv.h>
#include <linux/of.h>
#include <linux/of.h>


#include "core.h"

struct dwc3_exynos {
struct dwc3_exynos {
	struct platform_device	*dwc3;
	struct platform_device	*dwc3;
	struct platform_device	*usb2_phy;
	struct platform_device	*usb2_phy;
+0 −2
Original line number Original line Diff line number Diff line
@@ -54,8 +54,6 @@
#include <linux/usb/otg.h>
#include <linux/usb/otg.h>
#include <linux/usb/nop-usb-xceiv.h>
#include <linux/usb/nop-usb-xceiv.h>


#include "core.h"

/*
/*
 * All these registers belong to OMAP's Wrapper around the
 * All these registers belong to OMAP's Wrapper around the
 * DesignWare USB3 Core.
 * DesignWare USB3 Core.
+0 −2
Original line number Original line Diff line number Diff line
@@ -45,8 +45,6 @@
#include <linux/usb/otg.h>
#include <linux/usb/otg.h>
#include <linux/usb/nop-usb-xceiv.h>
#include <linux/usb/nop-usb-xceiv.h>


#include "core.h"

/* FIXME define these in <linux/pci_ids.h> */
/* FIXME define these in <linux/pci_ids.h> */
#define PCI_VENDOR_ID_SYNOPSYS		0x16c3
#define PCI_VENDOR_ID_SYNOPSYS		0x16c3
#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3	0xabcd
#define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3	0xabcd