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/drivers/ml403-ac97cr.c | |
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/drivers/ml403-ac97cr.c')
-rw-r--r-- | sound/drivers/ml403-ac97cr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/drivers/ml403-ac97cr.c b/sound/drivers/ml403-ac97cr.c index ecdbeb6d3603..7783843ca9ae 100644 --- a/sound/drivers/ml403-ac97cr.c +++ b/sound/drivers/ml403-ac97cr.c @@ -1153,7 +1153,7 @@ snd_ml403_ac97cr_create(struct snd_card *card, struct platform_device *pfdev, /* get irq */ irq = platform_get_irq(pfdev, 0); if (request_irq(irq, snd_ml403_ac97cr_irq, IRQF_DISABLED, - pfdev->dev.bus_id, (void *)ml403_ac97cr)) { + dev_name(&pfdev->dev), (void *)ml403_ac97cr)) { snd_printk(KERN_ERR SND_ML403_AC97CR_DRIVER ": " "unable to grab IRQ %d\n", irq); @@ -1166,7 +1166,7 @@ snd_ml403_ac97cr_create(struct snd_card *card, struct platform_device *pfdev, ml403_ac97cr->irq); irq = platform_get_irq(pfdev, 1); if (request_irq(irq, snd_ml403_ac97cr_irq, IRQF_DISABLED, - pfdev->dev.bus_id, (void *)ml403_ac97cr)) { + dev_name(&pfdev->dev), (void *)ml403_ac97cr)) { snd_printk(KERN_ERR SND_ML403_AC97CR_DRIVER ": " "unable to grab IRQ %d\n", irq); |