diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-09-17 15:28:33 -0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2013-10-09 21:04:04 -0400 |
commit | 5af5073004071cedd0343eee51d77955037ec6f3 (patch) | |
tree | 55bf69f5211017c8a842545f58970ac20c5caa0a /sound | |
parent | 5c9f303e996516dd0dcc2ce8c2b95504d3137b19 (diff) |
drivers: clean-up prom.h implicit includes
Powerpc is a mess of implicit includes by prom.h. Add the necessary
explicit includes to drivers in preparation of prom.h cleanup.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/aoa/core/gpio-feature.c | 3 | ||||
-rw-r--r-- | sound/aoa/soundbus/i2sbus/core.c | 2 | ||||
-rw-r--r-- | sound/ppc/pmac.c | 2 | ||||
-rw-r--r-- | sound/ppc/tumbler.c | 1 | ||||
-rw-r--r-- | sound/soc/fsl/fsl_dma.c | 2 | ||||
-rw-r--r-- | sound/soc/fsl/mpc5200_dma.c | 2 | ||||
-rw-r--r-- | sound/soc/fsl/mpc5200_psc_ac97.c | 2 | ||||
-rw-r--r-- | sound/soc/fsl/mpc8610_hpcd.c | 1 | ||||
-rw-r--r-- | sound/soc/fsl/p1022_ds.c | 1 | ||||
-rw-r--r-- | sound/soc/fsl/p1022_rdk.c | 1 |
10 files changed, 15 insertions, 2 deletions
diff --git a/sound/aoa/core/gpio-feature.c b/sound/aoa/core/gpio-feature.c index faa317490545..f34153962d07 100644 --- a/sound/aoa/core/gpio-feature.c +++ b/sound/aoa/core/gpio-feature.c | |||
@@ -10,8 +10,9 @@ | |||
10 | * registers. | 10 | * registers. |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <asm/pmac_feature.h> | 13 | #include <linux/of_irq.h> |
14 | #include <linux/interrupt.h> | 14 | #include <linux/interrupt.h> |
15 | #include <asm/pmac_feature.h> | ||
15 | #include "../aoa.h" | 16 | #include "../aoa.h" |
16 | 17 | ||
17 | /* TODO: these are lots of global variables | 18 | /* TODO: these are lots of global variables |
diff --git a/sound/aoa/soundbus/i2sbus/core.c b/sound/aoa/soundbus/i2sbus/core.c index 15e76131b501..467836057ee5 100644 --- a/sound/aoa/soundbus/i2sbus/core.c +++ b/sound/aoa/soundbus/i2sbus/core.c | |||
@@ -11,6 +11,8 @@ | |||
11 | #include <linux/pci.h> | 11 | #include <linux/pci.h> |
12 | #include <linux/interrupt.h> | 12 | #include <linux/interrupt.h> |
13 | #include <linux/dma-mapping.h> | 13 | #include <linux/dma-mapping.h> |
14 | #include <linux/of_address.h> | ||
15 | #include <linux/of_irq.h> | ||
14 | 16 | ||
15 | #include <sound/core.h> | 17 | #include <sound/core.h> |
16 | 18 | ||
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index c93fbbb201fe..7a43c0c38316 100644 --- a/sound/ppc/pmac.c +++ b/sound/ppc/pmac.c | |||
@@ -28,6 +28,8 @@ | |||
28 | #include <linux/interrupt.h> | 28 | #include <linux/interrupt.h> |
29 | #include <linux/pci.h> | 29 | #include <linux/pci.h> |
30 | #include <linux/dma-mapping.h> | 30 | #include <linux/dma-mapping.h> |
31 | #include <linux/of_address.h> | ||
32 | #include <linux/of_irq.h> | ||
31 | #include <sound/core.h> | 33 | #include <sound/core.h> |
32 | #include "pmac.h" | 34 | #include "pmac.h" |
33 | #include <sound/pcm_params.h> | 35 | #include <sound/pcm_params.h> |
diff --git a/sound/ppc/tumbler.c b/sound/ppc/tumbler.c index b23354a4ceca..b9ffc17a4799 100644 --- a/sound/ppc/tumbler.c +++ b/sound/ppc/tumbler.c | |||
@@ -31,6 +31,7 @@ | |||
31 | #include <linux/slab.h> | 31 | #include <linux/slab.h> |
32 | #include <linux/interrupt.h> | 32 | #include <linux/interrupt.h> |
33 | #include <linux/string.h> | 33 | #include <linux/string.h> |
34 | #include <linux/of_irq.h> | ||
34 | #include <sound/core.h> | 35 | #include <sound/core.h> |
35 | #include <asm/io.h> | 36 | #include <asm/io.h> |
36 | #include <asm/irq.h> | 37 | #include <asm/irq.h> |
diff --git a/sound/soc/fsl/fsl_dma.c b/sound/soc/fsl/fsl_dma.c index 9cc5c1f82f09..d1b111e7fc07 100644 --- a/sound/soc/fsl/fsl_dma.c +++ b/sound/soc/fsl/fsl_dma.c | |||
@@ -21,6 +21,8 @@ | |||
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | #include <linux/delay.h> | 22 | #include <linux/delay.h> |
23 | #include <linux/gfp.h> | 23 | #include <linux/gfp.h> |
24 | #include <linux/of_address.h> | ||
25 | #include <linux/of_irq.h> | ||
24 | #include <linux/of_platform.h> | 26 | #include <linux/of_platform.h> |
25 | #include <linux/list.h> | 27 | #include <linux/list.h> |
26 | #include <linux/slab.h> | 28 | #include <linux/slab.h> |
diff --git a/sound/soc/fsl/mpc5200_dma.c b/sound/soc/fsl/mpc5200_dma.c index 2a847ca494b5..161e5055ce94 100644 --- a/sound/soc/fsl/mpc5200_dma.c +++ b/sound/soc/fsl/mpc5200_dma.c | |||
@@ -10,6 +10,8 @@ | |||
10 | #include <linux/of_device.h> | 10 | #include <linux/of_device.h> |
11 | #include <linux/dma-mapping.h> | 11 | #include <linux/dma-mapping.h> |
12 | #include <linux/slab.h> | 12 | #include <linux/slab.h> |
13 | #include <linux/of_address.h> | ||
14 | #include <linux/of_irq.h> | ||
13 | #include <linux/of_platform.h> | 15 | #include <linux/of_platform.h> |
14 | 16 | ||
15 | #include <sound/soc.h> | 17 | #include <sound/soc.h> |
diff --git a/sound/soc/fsl/mpc5200_psc_ac97.c b/sound/soc/fsl/mpc5200_psc_ac97.c index 3ef7a0c92efa..24eafa2cfbf4 100644 --- a/sound/soc/fsl/mpc5200_psc_ac97.c +++ b/sound/soc/fsl/mpc5200_psc_ac97.c | |||
@@ -291,7 +291,7 @@ static int psc_ac97_of_probe(struct platform_device *op) | |||
291 | 291 | ||
292 | rc = snd_soc_set_ac97_ops(&psc_ac97_ops); | 292 | rc = snd_soc_set_ac97_ops(&psc_ac97_ops); |
293 | if (rc != 0) { | 293 | if (rc != 0) { |
294 | dev_err(&op->dev, "Failed to set AC'97 ops: %d\n", ret); | 294 | dev_err(&op->dev, "Failed to set AC'97 ops: %d\n", rc); |
295 | return rc; | 295 | return rc; |
296 | } | 296 | } |
297 | 297 | ||
diff --git a/sound/soc/fsl/mpc8610_hpcd.c b/sound/soc/fsl/mpc8610_hpcd.c index 228c52e71440..fa756d05b2f7 100644 --- a/sound/soc/fsl/mpc8610_hpcd.c +++ b/sound/soc/fsl/mpc8610_hpcd.c | |||
@@ -12,6 +12,7 @@ | |||
12 | 12 | ||
13 | #include <linux/module.h> | 13 | #include <linux/module.h> |
14 | #include <linux/interrupt.h> | 14 | #include <linux/interrupt.h> |
15 | #include <linux/of_address.h> | ||
15 | #include <linux/of_device.h> | 16 | #include <linux/of_device.h> |
16 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
17 | #include <sound/soc.h> | 18 | #include <sound/soc.h> |
diff --git a/sound/soc/fsl/p1022_ds.c b/sound/soc/fsl/p1022_ds.c index ba59c23a137b..f75c3cf0e6de 100644 --- a/sound/soc/fsl/p1022_ds.c +++ b/sound/soc/fsl/p1022_ds.c | |||
@@ -12,6 +12,7 @@ | |||
12 | 12 | ||
13 | #include <linux/module.h> | 13 | #include <linux/module.h> |
14 | #include <linux/interrupt.h> | 14 | #include <linux/interrupt.h> |
15 | #include <linux/of_address.h> | ||
15 | #include <linux/of_device.h> | 16 | #include <linux/of_device.h> |
16 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
17 | #include <sound/soc.h> | 18 | #include <sound/soc.h> |
diff --git a/sound/soc/fsl/p1022_rdk.c b/sound/soc/fsl/p1022_rdk.c index f21551911533..9d89bb028621 100644 --- a/sound/soc/fsl/p1022_rdk.c +++ b/sound/soc/fsl/p1022_rdk.c | |||
@@ -19,6 +19,7 @@ | |||
19 | 19 | ||
20 | #include <linux/module.h> | 20 | #include <linux/module.h> |
21 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
22 | #include <linux/of_address.h> | ||
22 | #include <linux/of_device.h> | 23 | #include <linux/of_device.h> |
23 | #include <linux/slab.h> | 24 | #include <linux/slab.h> |
24 | #include <sound/soc.h> | 25 | #include <sound/soc.h> |