hwmon: remove DEFINE_PCI_DEVICE_TABLE macro
[firefly-linux-kernel-4.4.55.git] / drivers / hwmon / k10temp.c
index d65f3fd895ddda22d23164f1a0c94c870b77e2ce..e375e9fabba9fa164ea5d4bc6c2c3ea2a7e12d35 100644 (file)
@@ -204,7 +204,7 @@ static void k10temp_remove(struct pci_dev *pdev)
                           &sensor_dev_attr_temp1_crit_hyst.dev_attr);
 }
 
-static DEFINE_PCI_DEVICE_TABLE(k10temp_id_table) = {
+static const struct pci_device_id k10temp_id_table[] = {
        { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_10H_NB_MISC) },
        { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_11H_NB_MISC) },
        { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_CNB17H_F3) },