From: Guenter Roeck Date: Sun, 29 Mar 2015 09:21:20 +0000 (-0700) Subject: Revert "usb: host/sl811-hcd: fix sparse warning" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e845d64743ee397ff132e7f81e6bfb3597f9f479;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Revert "usb: host/sl811-hcd: fix sparse warning" This reverts commit 1dc6120ef7f003305d99ef12f598a6b05eacc38c. Commit 1dc6120ef7f0 results in the following error when compiling x86_64:allyesconfig. sl811_cs.c:(.text+0x1d3cb72): undefined reference to `sl811h_driver' Fixes: 1dc6120ef7f0 ("usb: host/sl811-hcd: fix sparse warning") Cc: Lad, Prabhakar Signed-off-by: Guenter Roeck Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index 944a4173dd94..f1d5c5a11705 100644 --- a/drivers/usb/host/sl811-hcd.c +++ b/drivers/usb/host/sl811-hcd.c @@ -1801,7 +1801,7 @@ sl811h_resume(struct platform_device *dev) /* this driver is exported so sl811_cs can depend on it */ -static struct platform_driver sl811h_driver = { +struct platform_driver sl811h_driver = { .probe = sl811h_probe, .remove = sl811h_remove,