USB: common: debug: add needed kernel.h include
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jan 2022 15:20:27 +0000 (16:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jan 2022 15:20:27 +0000 (16:20 +0100)
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>
drivers/usb/common/debug.c

index a76a086b9c548e4295b1eddf96fef4c73d0ee656..075f6b1b2a1a123f10e4ed74c65970d3e4be8af0 100644 (file)
@@ -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,