|
@@ -256,7 +256,7 @@ static ssize_t edac_pci_dev_store(struct kobject *kobj,
|
|
|
struct edac_pci_dev_attribute *edac_pci_dev;
|
|
|
edac_pci_dev = (struct edac_pci_dev_attribute *)attr;
|
|
|
|
|
|
- if (edac_pci_dev->show)
|
|
|
+ if (edac_pci_dev->store)
|
|
|
return edac_pci_dev->store(edac_pci_dev->value, buffer, count);
|
|
|
return -EIO;
|
|
|
}
|