[PATCH 13/61] pcmcia: struct device - replace bus_id with dev_name(), dev_set_name()
Greg Kroah-Hartman
gregkh at suse.de
Tue Mar 24 20:26:17 EDT 2009
From: Kay Sievers <kay.sievers at vrfy.org>
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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/pcmcia/rsrc_mgr.c b/drivers/pcmcia/rsrc_mgr.c
index c0e2afc..e592e0e 100644
--- a/drivers/pcmcia/rsrc_mgr.c
+++ b/drivers/pcmcia/rsrc_mgr.c
@@ -153,7 +153,7 @@ static struct resource *iodyn_find_io_region(unsigned long base, int num,
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;
--
1.6.2
More information about the linux-pcmcia
mailing list