Commit 87c8a443 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] PCI: fix show_modalias() function due to attribute change

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 4893e9d1
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment