diff options
author | Timur Tabi <timur@freescale.com> | 2010-07-22 12:33:30 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-08-12 09:00:15 -0400 |
commit | 6e6f66226f0092a39526f8d6f02ebb447d995be2 (patch) | |
tree | 99c9e44bd0e2a7c3b3805463b9f00864ae5af37f /sound/soc/fsl | |
parent | f51582fd8d9b1196d58cd94c2b4b759cc1baf57a (diff) |
powerpc: rename immap_86xx.h to fsl_guts.h, and add 85xx support
The immap_86xx.h header file only defines one data structure: the "global
utilities" register set found on Freescale PowerPC SOCs. Rename this file
to fsl_guts.h to reflect its true purpose, and extend it to cover the "GUTS"
register set on 85xx chips.
Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r-- | sound/soc/fsl/fsl_ssi.c | 2 | ||||
-rw-r--r-- | sound/soc/fsl/mpc8610_hpcd.c | 10 |
2 files changed, 5 insertions, 7 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 64f65910a7d7..51b089f9751c 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c | |||
@@ -24,8 +24,6 @@ | |||
24 | #include <sound/initval.h> | 24 | #include <sound/initval.h> |
25 | #include <sound/soc.h> | 25 | #include <sound/soc.h> |
26 | 26 | ||
27 | #include <asm/immap_86xx.h> | ||
28 | |||
29 | #include "fsl_ssi.h" | 27 | #include "fsl_ssi.h" |
30 | 28 | ||
31 | /** | 29 | /** |
diff --git a/sound/soc/fsl/mpc8610_hpcd.c b/sound/soc/fsl/mpc8610_hpcd.c index 5ba823213abe..38339c158ed9 100644 --- a/sound/soc/fsl/mpc8610_hpcd.c +++ b/sound/soc/fsl/mpc8610_hpcd.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/interrupt.h> | 14 | #include <linux/interrupt.h> |
15 | #include <linux/of_device.h> | 15 | #include <linux/of_device.h> |
16 | #include <sound/soc.h> | 16 | #include <sound/soc.h> |
17 | #include <asm/immap_86xx.h> | 17 | #include <asm/fsl_guts.h> |
18 | 18 | ||
19 | #include "fsl_dma.h" | 19 | #include "fsl_dma.h" |
20 | #include "fsl_ssi.h" | 20 | #include "fsl_ssi.h" |
@@ -57,9 +57,9 @@ static int mpc8610_hpcd_machine_probe(struct platform_device *sound_device) | |||
57 | struct snd_soc_card *card = platform_get_drvdata(sound_device); | 57 | struct snd_soc_card *card = platform_get_drvdata(sound_device); |
58 | struct mpc8610_hpcd_data *machine_data = | 58 | struct mpc8610_hpcd_data *machine_data = |
59 | container_of(card, struct mpc8610_hpcd_data, card); | 59 | container_of(card, struct mpc8610_hpcd_data, card); |
60 | struct ccsr_guts __iomem *guts; | 60 | struct ccsr_guts_86xx __iomem *guts; |
61 | 61 | ||
62 | guts = ioremap(guts_phys, sizeof(struct ccsr_guts)); | 62 | guts = ioremap(guts_phys, sizeof(struct ccsr_guts_86xx)); |
63 | if (!guts) { | 63 | if (!guts) { |
64 | dev_err(card->dev, "could not map global utilities\n"); | 64 | dev_err(card->dev, "could not map global utilities\n"); |
65 | return -ENOMEM; | 65 | return -ENOMEM; |
@@ -142,9 +142,9 @@ static int mpc8610_hpcd_machine_remove(struct platform_device *sound_device) | |||
142 | struct snd_soc_card *card = platform_get_drvdata(sound_device); | 142 | struct snd_soc_card *card = platform_get_drvdata(sound_device); |
143 | struct mpc8610_hpcd_data *machine_data = | 143 | struct mpc8610_hpcd_data *machine_data = |
144 | container_of(card, struct mpc8610_hpcd_data, card); | 144 | container_of(card, struct mpc8610_hpcd_data, card); |
145 | struct ccsr_guts __iomem *guts; | 145 | struct ccsr_guts_86xx __iomem *guts; |
146 | 146 | ||
147 | guts = ioremap(guts_phys, sizeof(struct ccsr_guts)); | 147 | guts = ioremap(guts_phys, sizeof(struct ccsr_guts_86xx)); |
148 | if (!guts) { | 148 | if (!guts) { |
149 | dev_err(card->dev, "could not map global utilities\n"); | 149 | dev_err(card->dev, "could not map global utilities\n"); |
150 | return -ENOMEM; | 150 | return -ENOMEM; |