diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-01 22:50:35 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-03 02:57:33 -0500 |
commit | bb072bf0980abbe4fc905df91857a8ad34ca673c (patch) | |
tree | 8468d4060e37b785c05804590d90a4c23747fa66 /sound/aoa | |
parent | b02555c3845f02924b8224ff1fd9a44f2c144dbb (diff) |
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')
-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) | |||
176 | return -EINVAL; | 176 | return -EINVAL; |
177 | } | 177 | } |
178 | 178 | ||
179 | snprintf(dev->ofdev.dev.bus_id, BUS_ID_SIZE, "soundbus:%x", ++devcount); | 179 | dev_set_name(&dev->ofdev.dev, "soundbus:%x", ++devcount); |
180 | dev->ofdev.dev.bus = &soundbus_bus_type; | 180 | dev->ofdev.dev.bus = &soundbus_bus_type; |
181 | return of_device_register(&dev->ofdev); | 181 | return of_device_register(&dev->ofdev); |
182 | } | 182 | } |