mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-31 13:10:30 +00:00
(mds) make PCI_DEVICE_ID names the same as in <linux/pci_ids.h>.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@730 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
da8174c4db
commit
a27faf0d60
1 file changed
+6
-6
@@ -37,11 +37,11 @@
|
||||
#include <linux/init.h>
|
||||
|
||||
/* PCI defines */
|
||||
#ifndef PCI_DEVICE_ID_INTEL_82810
|
||||
#define PCI_DEVICE_ID_INTEL_82810 0x7121
|
||||
#ifndef PCI_DEVICE_ID_INTEL_82810_IG1
|
||||
#define PCI_DEVICE_ID_INTEL_82810_IG1 0x7121
|
||||
#endif
|
||||
#ifndef PCI_DEVICE_ID_INTEL_82810_DC100
|
||||
#define PCI_DEVICE_ID_INTEL_82810_DC100 0x7123
|
||||
#ifndef PCI_DEVICE_ID_INTEL_82810_IG3
|
||||
#define PCI_DEVICE_ID_INTEL_82810_IG3 0x7123
|
||||
#endif
|
||||
|
||||
/* GPIO register locations */
|
||||
@@ -223,7 +223,7 @@ static int i810i2c_setup(void)
|
||||
dev = NULL;
|
||||
do {
|
||||
if ((dev = pci_find_device(PCI_VENDOR_ID_INTEL,
|
||||
PCI_DEVICE_ID_INTEL_82810,
|
||||
PCI_DEVICE_ID_INTEL_82810_IG1,
|
||||
dev))) {
|
||||
if (!num)
|
||||
config_i810(dev);
|
||||
@@ -234,7 +234,7 @@ static int i810i2c_setup(void)
|
||||
dev = NULL;
|
||||
do {
|
||||
if ((dev = pci_find_device(PCI_VENDOR_ID_INTEL,
|
||||
PCI_DEVICE_ID_INTEL_82810_DC100,
|
||||
PCI_DEVICE_ID_INTEL_82810_IG3,
|
||||
dev))) {
|
||||
if (!num)
|
||||
config_i810(dev);
|
||||
|
||||
Reference in new issue
Block a user