diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-02-04 13:05:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-18 11:20:34 -0400 |
commit | 1dc6120ef7f003305d99ef12f598a6b05eacc38c (patch) | |
tree | 67cc79140bc6ff368648998feea25b7a1358932f | |
parent | 961ea496facda611eeb153d8133a4d40055e56ca (diff) |
usb: host/sl811-hcd: fix sparse warning
this patch fixes following sparse warning:
sl811-hcd.c:1804:24: warning: symbol 'sl811h_driver' was not declared. Should it be static?
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 4f4ba1ea9e9b..aceddfdd166d 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) | |||
1801 | 1801 | ||
1802 | 1802 | ||
1803 | /* this driver is exported so sl811_cs can depend on it */ | 1803 | /* this driver is exported so sl811_cs can depend on it */ |
1804 | struct platform_driver sl811h_driver = { | 1804 | static struct platform_driver sl811h_driver = { |
1805 | .probe = sl811h_probe, | 1805 | .probe = sl811h_probe, |
1806 | .remove = sl811h_remove, | 1806 | .remove = sl811h_remove, |
1807 | 1807 | ||