summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-sysfs.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2005-06-19 12:21:43 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-21 00:28:51 +0200
commit87c8a4433b608261a9becdb0ce2d2f2ed4b71d05 (patch)
treec3ddd09b1ad6312fccecc67d26098bd634ea17de /drivers/pci/pci-sysfs.c
parent[PATCH] USB: fix show_modalias() function due to attribute change (diff)
downloadlinux-87c8a4433b608261a9becdb0ce2d2f2ed4b71d05.tar.xz
linux-87c8a4433b608261a9becdb0ce2d2f2ed4b71d05.zip
[PATCH] PCI: fix show_modalias() function due to attribute change
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/pci-sysfs.c')
-rw-r--r--drivers/pci/pci-sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-sysfs.c b/drivers/pci/pci-sysfs.c
index 8b79609a3a03..a15f94072a6f 100644
--- a/drivers/pci/pci-sysfs.c
+++ b/drivers/pci/pci-sysfs.c
@@ -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);