提交 e845d647 编写于 作者: G Guenter Roeck 提交者: Greg Kroah-Hartman

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

This reverts commit 1dc6120e.

Commit 1dc6120e results in the following error when compiling
x86_64:allyesconfig.

sl811_cs.c:(.text+0x1d3cb72): undefined reference to `sl811h_driver'

Fixes: 1dc6120e ("usb: host/sl811-hcd: fix sparse warning")
Cc: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 3510c816
...@@ -1801,7 +1801,7 @@ sl811h_resume(struct platform_device *dev) ...@@ -1801,7 +1801,7 @@ sl811h_resume(struct platform_device *dev)
/* this driver is exported so sl811_cs can depend on it */ /* 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, .probe = sl811h_probe,
.remove = sl811h_remove, .remove = sl811h_remove,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册