]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
[PATCH] pcmcia: fix modalias attribute in sysfs
authorDominik Brodowski <linux@dominikbrodowski.net>
Thu, 30 Jun 2005 09:58:47 +0000 (02:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 30 Jun 2005 15:45:08 +0000 (08:45 -0700)
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>
drivers/pcmcia/ds.c

index cabddd49f6ffb626c78ca7613b682b9bb8e20bfd..d5afd557fe370f8a9b0a92b076cd2f4a37d4e4f3 100644 (file)
@@ -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;