Since <linux/kernel.h> no longer includes <linux/hex.h>, any users
of the hex interfaces need to include <linux/hex.h> themselves, so
add the header file here as needed.
Suggested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: e065c6a7e46c ("usb: gadget: u_ether: add gether_opts for config caching")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/linux-next/2768c835-7ac9-4540-a665-5dd516a80eee@infradead.org/T/#t
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Kuen-Han Tsai <khtsai@google.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org
drivers/usb/gadget/function/u_ether_configfs.h | 1 +
1 file changed, 1 insertion(+)
--- linux-next.orig/drivers/usb/gadget/function/u_ether_configfs.h
+++ linux-next/drivers/usb/gadget/function/u_ether_configfs.h
@@ -14,6 +14,7 @@
#define __U_ETHER_CONFIGFS_H
#include <linux/cleanup.h>
+#include <linux/hex.h>
#include <linux/if_ether.h>
#include <linux/mutex.h>
#include <linux/netdevice.h>