summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2020-03-06 02:11:53 +0100
committerAngel Pons <th3fanbus@gmail.com>2020-04-09 10:52:52 +0000
commitef6eceea562c8f2f5c2c430ae4fb45bd58252acb (patch)
treeb9769eec0a80e8ac48b757d9c12356c3bc5fde42 /src/southbridge
parentdc98bed86928a5b419e6ab7d7e451dd1ca73a95d (diff)
downloadcoreboot-ef6eceea562c8f2f5c2c430ae4fb45bd58252acb.tar.xz
sb/ibexpeak: Use .device for single PCI ID
Signed-off-by: Felix Singer <felixsinger@posteo.net> Change-Id: I40c4447579cfbf2b9c52dcfaa34f34b22f75c89c Reviewed-on: https://review.coreboot.org/c/coreboot/+/39332 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/ibexpeak/thermal.c7
1 files changed, 1 insertions, 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,
};