mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
[PATCH] PCI: fix show_modalias() function due to attribute change
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
4893e9d1cf
commit
87c8a4433b
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user