提交 3704511b 编写于 作者: D Dominik Brodowski 提交者: Linus Torvalds

[PATCH] pcmcia: fix modalias attribute in sysfs

Fix up PCMCIA modalias file in sysfs
Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 9b4311ee
...@@ -847,7 +847,7 @@ pcmcia_device_stringattr(prod_id2, prod_id[1]); ...@@ -847,7 +847,7 @@ pcmcia_device_stringattr(prod_id2, prod_id[1]);
pcmcia_device_stringattr(prod_id3, prod_id[2]); pcmcia_device_stringattr(prod_id3, prod_id[2]);
pcmcia_device_stringattr(prod_id4, prod_id[3]); 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); struct pcmcia_device *p_dev = to_pcmcia_dev(dev);
int i; int i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册