Re: [PATCH] Revert "usb: host/sl811-hcd: fix sparse warning"

From: Greg Kroah-Hartman
Date: Fri Apr 03 2015 - 09:44:56 EST


On Thu, Apr 02, 2015 at 04:45:40PM +0530, Sudip Mukherjee wrote:
> This reverts commit <1dc6120ef7f003305d99ef12f598a6b05eacc38c>.
>
> if we are doing allyesconfig on x86_64, build fails with error:
> drivers/built-in.o: In function `sl811_cs_probe':
> sl811_cs.c:(.text+0x1d4612e): undefined reference to `sl811h_driver'
>
> this commit has declared sl811h_driver as static but it was being
> accessed from sl811_cs.c.
>
> Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>
> ---
> drivers/usb/host/sl811-hcd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Someone else sent this patch in a few days before you did, sorry.

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/