hwmon: (i5k_amb) use DEFINE_PCI_DEVICE_TABLE macro
PATCH 2/2 hwmon: (i5k_amb) use DEFINE_PCI_DEVICE_TABLE macro
This macro is used to create a struct pci_device_id array.
Signed-off-by Jingoo Han <[email protected]>
--- drivers/hwmon/i5k_amb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/i5k_amb.c +1 -1
@@ -495,7 +495,7 @@ static struct { };#ifdef MODULE -static struct pci_device_id i5k_amb_ids[] = { +static DEFINE_PCI_DEVICE_TABLE (i5k_amb_ids) = { {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_5000_ERR ) }, {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_INTEL_5400_ERR ) }, { 0, }
Signature · 8 lines
1.7.10.4 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 4 lines · Jingoo Han
This macro is used to create a struct
pci_device_idarray.Signed-off-by Jingoo Han <[email protected]>---
Applied to -next.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors