Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Guenter Roeck and committed by
Greg Kroah-Hartman
e845d647 3510c816

+1 -1
+1 -1
drivers/usb/host/sl811-hcd.c
··· 1801 1801 1802 1802 1803 1803 /* this driver is exported so sl811_cs can depend on it */ 1804 - static struct platform_driver sl811h_driver = { 1804 + struct platform_driver sl811h_driver = { 1805 1805 .probe = sl811h_probe, 1806 1806 .remove = sl811h_remove, 1807 1807