From: Kay Sievers Date: Tue, 24 Mar 2009 23:38:22 +0000 (-0700) Subject: pcmcia: struct device - replace bus_id with dev_name(), dev_set_name() X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f2fecec51ad593cce1b07a2b54830a8412a441ea;p=linux-2.6-omap-h63xx.git pcmcia: struct device - replace bus_id with dev_name(), dev_set_name() Cc: Dominik Brodowski Cc: linux-pcmcia@lists.infradead.org Acked-by: Greg Kroah-Hartman Signed-off-by: Kay Sievers --- diff --git a/drivers/pcmcia/rsrc_mgr.c b/drivers/pcmcia/rsrc_mgr.c index c0e2afc79e3..e592e0e0d7e 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;