提交 87c8a443 编写于 作者: G Greg Kroah-Hartman

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

Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册