[PATCH 1/3] pcmcia: fix modalias attribute in sysfs

Dominik Brodowski linux at dominikbrodowski.net
Thu Jun 30 04:41:00 EDT 2005


Fix up PCMCIA modalias file in sysfs

Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>

---

 drivers/pcmcia/ds.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: 2.6.12-git10/drivers/pcmcia/ds.c
===================================================================
--- 2.6.12-git10.orig/drivers/pcmcia/ds.c
+++ 2.6.12-git10/drivers/pcmcia/ds.c
@@ -847,7 +847,7 @@ pcmcia_device_stringattr(prod_id2, prod_
 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;



More information about the linux-pcmcia mailing list