]> 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)
commit3d329c3be53ef4bdb37e715c3ce6ee1a683831a8
treee5d95134614cca94e951e8156dc0dc9901467f23
parentbafc4067001411a32da65710bbe6fd307f886f08
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