diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-01 11:46:06 +0100 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-11-02 15:05:51 +0100 |
commit | 2509698687e2d8265a19d800f7daa6f87790a529 (patch) | |
tree | 1973afe1d18c08db899ed1c558a36abfd1d050c4 /drivers/pcmcia/cs.c | |
parent | pcmcia: setup resource information for pseudo multifunction devices. (diff) | |
download | linux-2509698687e2d8265a19d800f7daa6f87790a529.tar.xz linux-2509698687e2d8265a19d800f7daa6f87790a529.zip |
pcmcia: struct device - replace bus_id with dev_name(), dev_set_name()
Signed-Off-By: Kay Sievers <kay.sievers@vrfy.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/pcmcia/cs.c')
-rw-r--r-- | drivers/pcmcia/cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/cs.c b/drivers/pcmcia/cs.c index c68c5d338285..5d0e60e09d31 100644 --- a/drivers/pcmcia/cs.c +++ b/drivers/pcmcia/cs.c @@ -226,7 +226,7 @@ int pcmcia_register_socket(struct pcmcia_socket *socket) /* set proper values in socket->dev */ dev_set_drvdata(&socket->dev, socket); socket->dev.class = &pcmcia_socket_class; - snprintf(socket->dev.bus_id, BUS_ID_SIZE, "pcmcia_socket%u", socket->sock); + dev_set_name(&socket->dev, "pcmcia_socket%u", socket->sock); /* base address = 0, map = 0 */ socket->cis_mem.flags = 0; |