mirror of https://gitee.com/openkylin/linux.git
i2c: i801: Fix PCI ID sorting
I managed to break sorting in PCI ID defines in my last two patches: commit5cd1c56c42
("i2c: i801: Add support for Intel Comet Lake") commit9be1485acc
("i2c: i801: Add support for Intel Elkhart Lake") Fix them up. Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
102a3375e6
commit
856078bf64
|
@ -211,6 +211,7 @@
|
||||||
STATUS_ERROR_FLAGS)
|
STATUS_ERROR_FLAGS)
|
||||||
|
|
||||||
/* Older devices have their ID defined in <linux/pci_ids.h> */
|
/* Older devices have their ID defined in <linux/pci_ids.h> */
|
||||||
|
#define PCI_DEVICE_ID_INTEL_COMETLAKE_SMBUS 0x02a3
|
||||||
#define PCI_DEVICE_ID_INTEL_BAYTRAIL_SMBUS 0x0f12
|
#define PCI_DEVICE_ID_INTEL_BAYTRAIL_SMBUS 0x0f12
|
||||||
#define PCI_DEVICE_ID_INTEL_CDF_SMBUS 0x18df
|
#define PCI_DEVICE_ID_INTEL_CDF_SMBUS 0x18df
|
||||||
#define PCI_DEVICE_ID_INTEL_DNV_SMBUS 0x19df
|
#define PCI_DEVICE_ID_INTEL_DNV_SMBUS 0x19df
|
||||||
|
@ -228,6 +229,7 @@
|
||||||
#define PCI_DEVICE_ID_INTEL_GEMINILAKE_SMBUS 0x31d4
|
#define PCI_DEVICE_ID_INTEL_GEMINILAKE_SMBUS 0x31d4
|
||||||
#define PCI_DEVICE_ID_INTEL_ICELAKE_LP_SMBUS 0x34a3
|
#define PCI_DEVICE_ID_INTEL_ICELAKE_LP_SMBUS 0x34a3
|
||||||
#define PCI_DEVICE_ID_INTEL_5_3400_SERIES_SMBUS 0x3b30
|
#define PCI_DEVICE_ID_INTEL_5_3400_SERIES_SMBUS 0x3b30
|
||||||
|
#define PCI_DEVICE_ID_INTEL_ELKHART_LAKE_SMBUS 0x4b23
|
||||||
#define PCI_DEVICE_ID_INTEL_BROXTON_SMBUS 0x5ad4
|
#define PCI_DEVICE_ID_INTEL_BROXTON_SMBUS 0x5ad4
|
||||||
#define PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS 0x8c22
|
#define PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS 0x8c22
|
||||||
#define PCI_DEVICE_ID_INTEL_WILDCATPOINT_SMBUS 0x8ca2
|
#define PCI_DEVICE_ID_INTEL_WILDCATPOINT_SMBUS 0x8ca2
|
||||||
|
@ -244,8 +246,6 @@
|
||||||
#define PCI_DEVICE_ID_INTEL_LEWISBURG_SSKU_SMBUS 0xa223
|
#define PCI_DEVICE_ID_INTEL_LEWISBURG_SSKU_SMBUS 0xa223
|
||||||
#define PCI_DEVICE_ID_INTEL_KABYLAKE_PCH_H_SMBUS 0xa2a3
|
#define PCI_DEVICE_ID_INTEL_KABYLAKE_PCH_H_SMBUS 0xa2a3
|
||||||
#define PCI_DEVICE_ID_INTEL_CANNONLAKE_H_SMBUS 0xa323
|
#define PCI_DEVICE_ID_INTEL_CANNONLAKE_H_SMBUS 0xa323
|
||||||
#define PCI_DEVICE_ID_INTEL_COMETLAKE_SMBUS 0x02a3
|
|
||||||
#define PCI_DEVICE_ID_INTEL_ELKHART_LAKE_SMBUS 0x4b23
|
|
||||||
|
|
||||||
struct i801_mux_config {
|
struct i801_mux_config {
|
||||||
char *gpio_chip;
|
char *gpio_chip;
|
||||||
|
|
Loading…
Reference in New Issue