[PATCH] PCI: fix show_modalias() function due to attribute change
authorGreg Kroah-Hartman <gregkh@suse.de>
Sun, 19 Jun 2005 10:21:43 +0000 (12:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:28:51 +0000 (15:28 -0700)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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);