X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fedac%2Fedac_pci_sysfs.c;h=8cc8676fa21068520fceec793e68f14469fc602f;hb=b67534c3cd56238e3adfbcd79407e8b4d3c11734;hp=495198ad059c2c4b9c452d0ecce3c95ecc45c510;hpb=366a2382c68d01638350efcf23d46a47d661c595;p=pandora-kernel.git diff --git a/drivers/edac/edac_pci_sysfs.c b/drivers/edac/edac_pci_sysfs.c index 495198ad059c..8cc8676fa210 100644 --- a/drivers/edac/edac_pci_sysfs.c +++ b/drivers/edac/edac_pci_sysfs.c @@ -257,7 +257,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; }