projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: sparc: Convert to snd_card_new() with a device pointer
[linux-block.git]
/
sound
/
sparc
/
amd7930.c
diff --git
a/sound/sparc/amd7930.c
b/sound/sparc/amd7930.c
index 174d21fb56e2e326246231b30ce589a90919a9ff..4a85e14334726e43f513a95a0e85e4fd4c5dd2cd 100644
(file)
--- a/
sound/sparc/amd7930.c
+++ b/
sound/sparc/amd7930.c
@@
-1019,8
+1019,8
@@
static int amd7930_sbus_probe(struct platform_device *op)
return -ENOENT;
}
- err = snd_card_
create(index[dev_num], id[dev_num], THIS_MODULE, 0
,
-
&card);
+ err = snd_card_
new(&op->dev, index[dev_num], id[dev_num]
,
+
THIS_MODULE, 0,
&card);
if (err < 0)
return err;