summaryrefslogtreecommitdiff
path: root/drivers/usb/common
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-05 16:20:27 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-05 16:20:27 +0100
commit66b13ce8fe25341a8c4c8ceb00d611461ad86dcc (patch)
tree33010407c90a81b1e48bd7f164164f9d064c13db /drivers/usb/common
parent6184f15d877c6fec0af43ef3e10c10183758263d (diff)
USB: common: debug: add needed kernel.h include
drivers/usb/common/debug.c was only including one usb .h file, which would then accidentally drag in other .h files that were really needed. Fix up the implict dependancy by correctly adding kernel.h to the file. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/common')
-rw-r--r--drivers/usb/common/debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/common/debug.c b/drivers/usb/common/debug.c
index a76a086b9c54..075f6b1b2a1a 100644
--- a/drivers/usb/common/debug.c
+++ b/drivers/usb/common/debug.c
@@ -8,6 +8,7 @@
* Sebastian Andrzej Siewior <bigeasy@linutronix.de>
*/
+#include <linux/kernel.h>
#include <linux/usb/ch9.h>
static void usb_decode_get_status(__u8 bRequestType, __u16 wIndex,