summaryrefslogtreecommitdiff
path: root/drivers/usb/otg
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-07-19 14:32:15 +0400
committerFelipe Balbi <balbi@ti.com>2012-08-03 10:36:18 +0400
commit78c289f8769aaefcc52d26ca53c8b2ee545fb332 (patch)
treec62a9458f5dde02d87242e449afc05e1c9093b52 /drivers/usb/otg
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee (diff)
downloadlinux-78c289f8769aaefcc52d26ca53c8b2ee545fb332.tar.xz
usb: xceiv: create nop-usb-xceiv.h and avoid pollution on otg.h
nop-usb-xceiv was polluting otg.h with its own function prototypes. Move those prototypes to a nop-usb-xceiv.h header. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/otg')
-rw-r--r--drivers/usb/otg/nop-usb-xceiv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/otg/nop-usb-xceiv.c b/drivers/usb/otg/nop-usb-xceiv.c
index 803f958f4133..3c3ad6bb307c 100644
--- a/drivers/usb/otg/nop-usb-xceiv.c
+++ b/drivers/usb/otg/nop-usb-xceiv.c
@@ -30,6 +30,7 @@
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/usb/otg.h>
+#include <linux/usb/nop-usb-xceiv.h>
#include <linux/slab.h>
struct nop_usb_xceiv {