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

Greg Kroah-Hartman
2015-04-03T13:44:55Z

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@vectorindia.org>
> ---
> 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