From ef6eceea562c8f2f5c2c430ae4fb45bd58252acb Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Fri, 6 Mar 2020 02:11:53 +0100 Subject: [PATCH] sb/ibexpeak: Use .device for single PCI ID Signed-off-by: Felix Singer Change-Id: I40c4447579cfbf2b9c52dcfaa34f34b22f75c89c Reviewed-on: https://review.coreboot.org/c/coreboot/+/39332 Reviewed-by: Angel Pons Reviewed-by: Paul Menzel Reviewed-by: HAOUAS Elyes Tested-by: build bot (Jenkins) --- src/southbridge/intel/ibexpeak/thermal.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/southbridge/intel/ibexpeak/thermal.c b/src/southbridge/intel/ibexpeak/thermal.c index 298016f39a..df261de9d7 100644 --- a/src/southbridge/intel/ibexpeak/thermal.c +++ b/src/southbridge/intel/ibexpeak/thermal.c @@ -43,13 +43,8 @@ static struct device_operations thermal_ops = { .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_VENDOR_ID_INTEL, - .devices = pci_device_ids, + .device = PCI_DID_INTEL_IBEXPEAK_THERMAL, };