diff options
author | Guenter Roeck <linux@roeck-us.net> | 2015-03-29 09:21:20 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 17:03:15 (GMT) |
commit | e845d64743ee397ff132e7f81e6bfb3597f9f479 (patch) | |
tree | 1bb4fb814aa7c1c020791ea909ba752bb90c9972 /drivers/usb | |
parent | 3510c8164ccbda7150379900f71078ce6ab23550 (diff) | |
download | linux-e845d64743ee397ff132e7f81e6bfb3597f9f479.tar.xz |
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 <prabhakar.csengg@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/sl811-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index 944a417..f1d5c5a1 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, |