]> git.baikalelectronics.ru Git - kernel.git/commit
USB: sa1111: sparse and checkpatch cleanups
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 26 Jan 2012 10:37:46 +0000 (10:37 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Mar 2012 11:30:13 +0000 (11:30 +0000)
commitd0e461d78c42d88f136736df75f78311c3c38a26
treee5d95134614cca94e951e8156dc0dc9901467f23
parentcc433655506ca824c8c782f828d17524253e6785
USB: sa1111: sparse and checkpatch cleanups

Clean up the ohci-sa1111 driver formatting to be more compliant with
current standards, and add 'static' to various function definitions
to avoid sparse complaints about undeclared functions.  Remove the
unnecessary local declaration of 'usb_disabled', which can be found
instead in linux/usb.h.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/usb/host/ohci-sa1111.c