]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Revert "usb: host/sl811-hcd: fix sparse warning"
authorGuenter Roeck <linux@roeck-us.net>
Sun, 29 Mar 2015 09:21:20 +0000 (02:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 17:03:15 +0000 (19:03 +0200)
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 <prabhakar.csengg@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/sl811-hcd.c

index 944a4173dd9452e6000ab85470fd4ae6e1f7cff4..f1d5c5a117057fd121b762503ea8c3ed13342ca8 100644 (file)
@@ -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,