mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
gpio: pch: Change PCI device macros
Use PCI_DEVICE_DATA macro. No functional changes are expected. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
d3bb436deb
commit
b65bb2c148
@ -37,6 +37,11 @@ struct pch_regs {
|
||||
u32 reset;
|
||||
};
|
||||
|
||||
#define PCI_DEVICE_ID_INTEL_EG20T_PCH 0x8803
|
||||
#define PCI_DEVICE_ID_ROHM_ML7223m_IOH 0x8014
|
||||
#define PCI_DEVICE_ID_ROHM_ML7223n_IOH 0x8043
|
||||
#define PCI_DEVICE_ID_ROHM_EG20T_PCH 0x8803
|
||||
|
||||
enum pch_type_t {
|
||||
INTEL_EG20T_PCH,
|
||||
OKISEMI_ML7223m_IOH, /* LAPIS Semiconductor ML7223 IOH PCIe Bus-m */
|
||||
@ -425,15 +430,11 @@ static int __maybe_unused pch_gpio_resume(struct device *dev)
|
||||
static SIMPLE_DEV_PM_OPS(pch_gpio_pm_ops, pch_gpio_suspend, pch_gpio_resume);
|
||||
|
||||
static const struct pci_device_id pch_gpio_pcidev_id[] = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8803),
|
||||
.driver_data = INTEL_EG20T_PCH },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8014),
|
||||
.driver_data = OKISEMI_ML7223m_IOH },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8043),
|
||||
.driver_data = OKISEMI_ML7223n_IOH },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8803),
|
||||
.driver_data = INTEL_EG20T_PCH },
|
||||
{ 0, }
|
||||
{ PCI_DEVICE_DATA(INTEL, EG20T_PCH, INTEL_EG20T_PCH) },
|
||||
{ PCI_DEVICE_DATA(ROHM, ML7223m_IOH, OKISEMI_ML7223m_IOH) },
|
||||
{ PCI_DEVICE_DATA(ROHM, ML7223n_IOH, OKISEMI_ML7223n_IOH) },
|
||||
{ PCI_DEVICE_DATA(ROHM, EG20T_PCH, INTEL_EG20T_PCH) },
|
||||
{ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(pci, pch_gpio_pcidev_id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user