mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
[PATCH] pcmcia: fix modalias attribute in sysfs
Fix up PCMCIA modalias file in sysfs Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
9b4311eedb
commit
3704511b2e
@ -847,7 +847,7 @@ pcmcia_device_stringattr(prod_id2, prod_id[1]);
|
||||
pcmcia_device_stringattr(prod_id3, prod_id[2]);
|
||||
pcmcia_device_stringattr(prod_id4, prod_id[3]);
|
||||
|
||||
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 pcmcia_device *p_dev = to_pcmcia_dev(dev);
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user