From 5d0b9f8d7c59ef2da9335140f741b4898176cab9 Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Sun, 29 Mar 2015 02:21:20 -0700 Subject: [PATCH] Revert "usb: host/sl811-hcd: fix sparse warning" This reverts commit 184c7bb580c6e0fb2fc907760720d02aeb79ee95. Commit 184c7bb580c6 results in the following error when compiling x86_64:allyesconfig. sl811_cs.c:(.text+0x1d3cb72): undefined reference to `sl811h_driver' Fixes: 184c7bb580c6 ("usb: host/sl811-hcd: fix sparse warning") Cc: Lad, Prabhakar Signed-off-by: Guenter Roeck Signed-off-by: Greg Kroah-Hartman --- drivers/usb/host/sl811-hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/sl811-hcd.c b/drivers/usb/host/sl811-hcd.c index 944a4173dd945..f1d5c5a117057 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, -- 2.39.5