]> git.hungrycats.org Git - linux/commitdiff
Fix up ad1848 OSS driver for PnP 'name' move.
authorLinus Torvalds <torvalds@home.osdl.org>
Mon, 18 Aug 2003 02:22:30 +0000 (19:22 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 18 Aug 2003 02:22:30 +0000 (19:22 -0700)
sound/oss/ad1848.c

index c3522eaca08603a59da66191a6d1877fa763ffeb..0195b64da5a0725607453e3c9a3af419e0fe6fac 100644 (file)
@@ -3027,7 +3027,7 @@ static struct pnp_dev *ad1848_init_generic(struct pnp_card *bus, struct address_
 
 static int __init ad1848_isapnp_init(struct address_info *hw_config, struct pnp_card *bus, int slot)
 {
-       char *busname = bus->dev.name[0] ? bus->dev.name : ad1848_isapnp_list[slot].name;
+       char *busname = bus->name[0] ? bus->name : ad1848_isapnp_list[slot].name;
 
        /* Initialize this baby. */