diff options
author | Felix Singer <felixsinger@posteo.net> | 2020-03-06 02:11:53 +0100 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-04-09 10:52:52 +0000 |
commit | ef6eceea562c8f2f5c2c430ae4fb45bd58252acb (patch) | |
tree | b9769eec0a80e8ac48b757d9c12356c3bc5fde42 /src/southbridge/intel | |
parent | dc98bed86928a5b419e6ab7d7e451dd1ca73a95d (diff) |
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/intel')
-rw-r--r-- | src/southbridge/intel/ibexpeak/thermal.c | 7 |
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, }; |