Skip to content

Commit

Permalink
Revert "usb: host/sl811-hcd: fix sparse warning"
Browse files Browse the repository at this point in the history
This reverts commit 1dc6120.

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

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

Fixes: 1dc6120 ("usb: host/sl811-hcd: fix sparse warning")
Cc: Lad, Prabhakar <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
groeck authored and gregkh committed Apr 3, 2015
1 parent 3510c81 commit e845d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/host/sl811-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down

0 comments on commit e845d64

Please sign in to comment.