summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/linux-compat.h
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2015-02-23 18:40:00 +0530
committerMarek Vasut <marex@denx.de>2015-04-14 05:48:09 +0200
commitb6d959acaae08fa217f539245893c663d63a8b7a (patch)
tree10b9bbf71115322fb41fa7fc4e1a6a1c9c4561d2 /drivers/usb/dwc3/linux-compat.h
parent72e7c32fe4dd21aecd1c37eb7f338613b18af148 (diff)
downloadblackbird-obmc-uboot-b6d959acaae08fa217f539245893c663d63a8b7a.tar.gz
blackbird-obmc-uboot-b6d959acaae08fa217f539245893c663d63a8b7a.zip
usb: dwc3: ep0: make dwc3 ep0 build in uboot
*) Changed the included header files to that used in u-boot. *) added dwc3_ep_event_string() used in ep0.c *) Fixed other misc warnings Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'drivers/usb/dwc3/linux-compat.h')
-rw-r--r--drivers/usb/dwc3/linux-compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/linux-compat.h b/drivers/usb/dwc3/linux-compat.h
index 719e82e8fc..cbfb946ad3 100644
--- a/drivers/usb/dwc3/linux-compat.h
+++ b/drivers/usb/dwc3/linux-compat.h
@@ -14,6 +14,7 @@
#define pr_debug(format) debug(format)
#define WARN(val, format, arg...) debug(format, ##arg)
+#define dev_WARN(dev, format, arg...) debug(format, ##arg)
#define WARN_ON_ONCE(val) debug("Error %d\n", val)
#define BUILD_BUG_ON_NOT_POWER_OF_2(n)
OpenPOWER on IntegriCloud