pcmcia: struct device - replace bus_id with dev_name(), dev_set_name()

Kay Sievers kay.sievers at vrfy.org
Sun Jan 25 17:54:33 EST 2009


From: Kay Sievers <kay.sievers at vrfy.org>
Subject: pcmcia: struct device - replace bus_id with dev_name(), dev_set_name()

Cc: Dominik Brodowski <linux at dominikbrodowski.net>
Cc: linux-pcmcia at lists.infradead.org
Acked-by: Greg Kroah-Hartman <gregkh at suse.de>
Signed-off-by: Kay Sievers <kay.sievers at vrfy.org>
---
 drivers/pcmcia/rsrc_mgr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/pcmcia/rsrc_mgr.c
+++ b/drivers/pcmcia/rsrc_mgr.c
@@ -153,7 +153,7 @@ static struct resource *iodyn_find_io_re
 		unsigned long align, struct pcmcia_socket *s)
 {
 	struct resource *res = make_resource(0, num, IORESOURCE_IO,
-					     s->dev.bus_id);
+					     dev_name(&s->dev));
 	struct pcmcia_align_data data;
 	unsigned long min = base;
 	int ret;




More information about the linux-pcmcia mailing list