diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-02 03:50:35 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-03 08:57:33 +0100 |
commit | bb072bf0980abbe4fc905df91857a8ad34ca673c (patch) | |
tree | 8468d4060e37b785c05804590d90a4c23747fa66 /sound/aoa/soundbus | |
parent | ALSA: Fix PIT lockup on some chipsets when using the PC-Speaker (diff) | |
download | linux-bb072bf0980abbe4fc905df91857a8ad34ca673c.tar.xz linux-bb072bf0980abbe4fc905df91857a8ad34ca673c.zip |
sound: struct device - replace bus_id with dev_name(), dev_set_name()
[stripped sound/isa/* changes, replaced with the next patch -- tiwai]
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/aoa/soundbus')
-rw-r--r-- | sound/aoa/soundbus/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/soundbus/core.c b/sound/aoa/soundbus/core.c index f84f3e505788..fa8ab2815a98 100644 --- a/sound/aoa/soundbus/core.c +++ b/sound/aoa/soundbus/core.c @@ -176,7 +176,7 @@ int soundbus_add_one(struct soundbus_dev *dev) return -EINVAL; } - snprintf(dev->ofdev.dev.bus_id, BUS_ID_SIZE, "soundbus:%x", ++devcount); + dev_set_name(&dev->ofdev.dev, "soundbus:%x", ++devcount); dev->ofdev.dev.bus = &soundbus_bus_type; return of_device_register(&dev->ofdev); } |