Skip to contentSkip to conversation

Revert "usb: host/sl811-hcd: fix sparse warning"

PATCH New Guenter Roeck 1 participant 1 message Mar 29, 2015 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>
---
 drivers/usb/host/sl811-hcd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/host/sl811-hcd.c +1 -1
index aceddfd..4f4ba1e 100644
@@ -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,
 
Signature · 1 line
2.1.0