summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2020-09-14 14:17:30 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-29 10:12:22 +0100
commit9d1cd4e8919cd31da4570e28bc5c888f437e97eb (patch)
tree9c8db0bfe7846845a56b9d86ce35e0c4e0c716c1 /drivers
parent1072de467c1452ade5cf23e928bae09dc06b7a45 (diff)
downloadlinux-stable-9d1cd4e8919cd31da4570e28bc5c888f437e97eb.tar.gz
linux-stable-9d1cd4e8919cd31da4570e28bc5c888f437e97eb.tar.bz2
linux-stable-9d1cd4e8919cd31da4570e28bc5c888f437e97eb.zip
usb: gadget: bcm63xx_udc: fix up the error of undeclared usb_debug_root
commit 5b35dd1a5a666329192a9616ec21098591259058 upstream. Fix up the build error caused by undeclared usb_debug_root Cc: stable <stable@vger.kernel.org> Fixes: a66ada4f241c ("usb: gadget: bcm63xx_udc: create debugfs directory under usb root") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Felipe Balbi <balbi@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/udc/bcm63xx_udc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/udc/bcm63xx_udc.c b/drivers/usb/gadget/udc/bcm63xx_udc.c
index feaec00a3c16..9cd4a70ccdd6 100644
--- a/drivers/usb/gadget/udc/bcm63xx_udc.c
+++ b/drivers/usb/gadget/udc/bcm63xx_udc.c
@@ -26,6 +26,7 @@
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <linux/timer.h>
+#include <linux/usb.h>
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
#include <linux/workqueue.h>