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>
This commit is contained in:
parent
2ed45fd6ac
commit
b005d7d5f9
@ -64,6 +64,7 @@
|
||||
#define OHCI_CONTROL_INIT \
|
||||
(OHCI_CTRL_CBSR & 0x3) | OHCI_CTRL_IE | OHCI_CTRL_PLE
|
||||
|
||||
#if !CONFIG_IS_ENABLED(DM_USB)
|
||||
#ifdef CONFIG_PCI_OHCI
|
||||
static struct pci_device_id ohci_pci_ids[] = {
|
||||
{0x10b9, 0x5237}, /* ULI1575 PCI OHCI module ids */
|
||||
@ -73,6 +74,7 @@ static struct pci_device_id ohci_pci_ids[] = {
|
||||
{0, 0}
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PCI_EHCI_DEVNO
|
||||
static struct pci_device_id ehci_pci_ids[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user