diff options
Diffstat (limited to 'sound/sparc/amd7930.c')
| -rw-r--r-- | sound/sparc/amd7930.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c index 9eb1a4e0363b..f8bcfc30f800 100644 --- a/sound/sparc/amd7930.c +++ b/sound/sparc/amd7930.c | |||
| @@ -336,7 +336,7 @@ struct snd_amd7930 { | |||
| 336 | int pgain; | 336 | int pgain; |
| 337 | int mgain; | 337 | int mgain; |
| 338 | 338 | ||
| 339 | struct of_device *op; | 339 | struct platform_device *op; |
| 340 | unsigned int irq; | 340 | unsigned int irq; |
| 341 | struct snd_amd7930 *next; | 341 | struct snd_amd7930 *next; |
| 342 | }; | 342 | }; |
| @@ -906,7 +906,7 @@ static int __devinit snd_amd7930_mixer(struct snd_amd7930 *amd) | |||
| 906 | 906 | ||
| 907 | static int snd_amd7930_free(struct snd_amd7930 *amd) | 907 | static int snd_amd7930_free(struct snd_amd7930 *amd) |
| 908 | { | 908 | { |
| 909 | struct of_device *op = amd->op; | 909 | struct platform_device *op = amd->op; |
| 910 | 910 | ||
| 911 | amd7930_idle(amd); | 911 | amd7930_idle(amd); |
| 912 | 912 | ||
| @@ -934,7 +934,7 @@ static struct snd_device_ops snd_amd7930_dev_ops = { | |||
| 934 | }; | 934 | }; |
| 935 | 935 | ||
| 936 | static int __devinit snd_amd7930_create(struct snd_card *card, | 936 | static int __devinit snd_amd7930_create(struct snd_card *card, |
| 937 | struct of_device *op, | 937 | struct platform_device *op, |
| 938 | int irq, int dev, | 938 | int irq, int dev, |
| 939 | struct snd_amd7930 **ramd) | 939 | struct snd_amd7930 **ramd) |
| 940 | { | 940 | { |
| @@ -1002,7 +1002,7 @@ static int __devinit snd_amd7930_create(struct snd_card *card, | |||
| 1002 | return 0; | 1002 | return 0; |
| 1003 | } | 1003 | } |
| 1004 | 1004 | ||
| 1005 | static int __devinit amd7930_sbus_probe(struct of_device *op, const struct of_device_id *match) | 1005 | static int __devinit amd7930_sbus_probe(struct platform_device *op, const struct of_device_id *match) |
| 1006 | { | 1006 | { |
| 1007 | struct resource *rp = &op->resource[0]; | 1007 | struct resource *rp = &op->resource[0]; |
| 1008 | static int dev_num; | 1008 | static int dev_num; |
