Re: [PATCH] USB: core: fix missing include <linux/usb/of.h>

From: Greg Kroah-Hartman
Date: Mon Jun 13 2016 - 21:34:23 EST


On Tue, Jun 07, 2016 at 07:20:33PM +0100, Ben Dooks wrote:
> The helper function usb_of_get_child_node() is defined in the
> header <linux/usb/of.h> but this was not included. Fix the warning
> about usb_of_get_child_node() not being declared by adding the
> right include. Fixes:
>
> drivers/usb/core/of.c:31:20: warning: symbol 'usb_of_get_child_node' was not declared. Should it be static?
>
> Signed-off-by: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx>

Given that the kbuild robot broke with this patch, I'm not going to take
it...