diff options
author | Tom Rini <trini@konsulko.com> | 2020-09-30 09:07:06 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-30 09:07:06 -0400 |
commit | 527fad0b2484bf1dd4c443c4c8f4384aa256938f (patch) | |
tree | e50b2e3551ce9ac05713b1204e63faea793e94f7 /drivers/usb/cdns3/ep0.c | |
parent | 0ac83d080a0044cd0d8f782ba12f02cf969d3004 (diff) | |
parent | ceb70bb870ac0761992d3e38e9287a338e3b846a (diff) |
Merge branch '2020-09-29-dev_xxx-print-improvement' into next
- Improve our dev_xxx(..) wrappers to be generally used and available
rather than discarded at link/compile time.
Diffstat (limited to 'drivers/usb/cdns3/ep0.c')
-rw-r--r-- | drivers/usb/cdns3/ep0.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/cdns3/ep0.c b/drivers/usb/cdns3/ep0.c index a08c6945590..acff79ae1ca 100644 --- a/drivers/usb/cdns3/ep0.c +++ b/drivers/usb/cdns3/ep0.c @@ -11,8 +11,9 @@ */ #include <cpu_func.h> -#include <asm/cache.h> +#include <dm.h> #include <dm/device_compat.h> +#include <asm/cache.h> #include <linux/bitops.h> #include <linux/delay.h> #include <linux/usb/composite.h> @@ -810,7 +811,7 @@ int cdns3_gadget_ep_set_wedge(struct usb_ep *ep) { struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); - dev_dbg(priv_dev->dev, "Wedge for %s\n", ep->name); + dev_dbg(priv_ep->cdns3_dev->dev, "Wedge for %s\n", ep->name); cdns3_gadget_ep_set_halt(ep, 1); priv_ep->flags |= EP_WEDGE; |