diff options
author | Tony Lindgren <tony@atomide.com> | 2012-04-18 13:09:26 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-04-18 13:09:26 -0400 |
commit | 09f45b83109cb8e23a06d5efb1096a08a9545974 (patch) | |
tree | 253e2244e0ab80e9c6e5cb53ab49457d82d70f68 /drivers | |
parent | e816b57a337ea3b755de72bec38c10c864f23015 (diff) | |
parent | eeb3711b89d68e147e05e7b43a49ecc5009dc157 (diff) |
Merge tag 'omap-cleanup-a2-for-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending into cleanup-sparse
Resolve static analysis warnings generated by files in
arch/arm/mach-omap1, arch/arm/mach-omap2, and arch/arm/plat-omap.
Fixes all but one sparse warning and most of the useful
cppcheck warnings (excepting the warnings generated by the
dmtimer integration code which is going up via 3.4-rc fixes)
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/host/ohci-omap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c index 96451e41ee8a..71229cb97e3e 100644 --- a/drivers/usb/host/ohci-omap.c +++ b/drivers/usb/host/ohci-omap.c | |||
@@ -205,8 +205,9 @@ static int ohci_omap_init(struct usb_hcd *hcd) | |||
205 | need_transceiver = need_transceiver | 205 | need_transceiver = need_transceiver |
206 | || machine_is_omap_h2() || machine_is_omap_h3(); | 206 | || machine_is_omap_h2() || machine_is_omap_h3(); |
207 | 207 | ||
208 | if (cpu_is_omap16xx()) | 208 | /* XXX OMAP16xx only */ |
209 | ocpi_enable(); | 209 | if (config->ocpi_enable) |
210 | config->ocpi_enable(); | ||
210 | 211 | ||
211 | #ifdef CONFIG_USB_OTG | 212 | #ifdef CONFIG_USB_OTG |
212 | if (need_transceiver) { | 213 | if (need_transceiver) { |