]> err.no Git - linux-2.6/blobdiff - drivers/pci/pci-sysfs.c
[PATCH] kexec: fix sparse warnings
[linux-2.6] / drivers / pci / pci-sysfs.c
index 8b79609a3a035f0957e8e865461126643738712b..a15f94072a6f554a4e43b70db5c24d7e1b64240a 100644 (file)
@@ -73,7 +73,7 @@ resource_show(struct device * dev, struct device_attribute *attr, char * buf)
        return (str - buf);
 }
 
-static ssize_t modalias_show(struct device *dev, char *buf)
+static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, char *buf)
 {
        struct pci_dev *pci_dev = to_pci_dev(dev);