]> git.ipfire.org Git - thirdparty/u-boot.git/commit
usb, ohci-hdc: fix warning 'ohci_pci_ids' defined but not used
authorHeiko Schocher <hs@denx.de>
Tue, 16 Jul 2019 08:49:03 +0000 (10:49 +0200)
committerMarek Vasut <marex@denx.de>
Thu, 8 Aug 2019 09:35:02 +0000 (11:35 +0200)
commitb005d7d5f96539450e50450f12491913e135c2a9
treef8b47609110cff678bec815dbc61aa66d189b159
parent2ed45fd6acc465c9f3c472ff758df8b952871568
usb, ohci-hdc: fix warning 'ohci_pci_ids' defined but not used

var ohci_pci_ids is only used if DM_USB is not enabled.
So define this varaible only if
!CONFIG_IS_ENABLED(DM_USB)

Signed-off-by: Heiko Schocher <hs@denx.de>
drivers/usb/host/ohci-hcd.c