Felix Singer has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/39332 )
Change subject: soc/ibexpeak: Use .device for single PCI ID ......................................................................
soc/ibexpeak: Use .device for single PCI ID
Signed-off-by: Felix Singer felixsinger@posteo.net Change-Id: I40c4447579cfbf2b9c52dcfaa34f34b22f75c89c --- M src/southbridge/intel/ibexpeak/thermal.c 1 file changed, 1 insertion(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/32/39332/1
diff --git a/src/southbridge/intel/ibexpeak/thermal.c b/src/southbridge/intel/ibexpeak/thermal.c index 4b6e1dd..b6365da 100644 --- a/src/southbridge/intel/ibexpeak/thermal.c +++ b/src/southbridge/intel/ibexpeak/thermal.c @@ -57,13 +57,8 @@ .ops_pci = &pci_ops, };
-static const unsigned short pci_device_ids[] = { - PCI_DID_INTEL_IBEXPEAK_THERMAL, - 0 -}; - static const struct pci_driver pch_thermal __pci_driver = { .ops = &thermal_ops, .vendor = PCI_VID_INTEL, - .devices = pci_device_ids, + .device = PCI_DID_INTEL_IBEXPEAK_THERMAL, };