aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-w90x900
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-w90x900')
-rw-r--r--arch/arm/mach-w90x900/clksel.c2
-rw-r--r--arch/arm/mach-w90x900/cpu.c2
-rw-r--r--arch/arm/mach-w90x900/dev.c6
-rw-r--r--arch/arm/mach-w90x900/mfp.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-w90x900/clksel.c b/arch/arm/mach-w90x900/clksel.c
index 3de4a5211c3b..06d867dce551 100644
--- a/arch/arm/mach-w90x900/clksel.c
+++ b/arch/arm/mach-w90x900/clksel.c
@@ -48,7 +48,7 @@ static void clock_source_select(const char *dev_id, unsigned int clkval)
48 offset = ATAOFFSET; 48 offset = ATAOFFSET;
49 else if (strcmp(dev_id, "nuc900-lcd") == 0) 49 else if (strcmp(dev_id, "nuc900-lcd") == 0)
50 offset = LCDOFFSET; 50 offset = LCDOFFSET;
51 else if (strcmp(dev_id, "nuc900-audio") == 0) 51 else if (strcmp(dev_id, "nuc900-ac97") == 0)
52 offset = AUDOFFSET; 52 offset = AUDOFFSET;
53 else 53 else
54 offset = CPUOFFSET; 54 offset = CPUOFFSET;
diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c
index 604e1db266e8..9a0661992909 100644
--- a/arch/arm/mach-w90x900/cpu.c
+++ b/arch/arm/mach-w90x900/cpu.c
@@ -79,7 +79,7 @@ static DEFINE_CLK(timer4, 23);
79 79
80static struct clk_lookup nuc900_clkregs[] = { 80static struct clk_lookup nuc900_clkregs[] = {
81 DEF_CLKLOOK(&clk_lcd, "nuc900-lcd", NULL), 81 DEF_CLKLOOK(&clk_lcd, "nuc900-lcd", NULL),
82 DEF_CLKLOOK(&clk_audio, "nuc900-audio", NULL), 82 DEF_CLKLOOK(&clk_audio, "nuc900-ac97", NULL),
83 DEF_CLKLOOK(&clk_fmi, "nuc900-fmi", NULL), 83 DEF_CLKLOOK(&clk_fmi, "nuc900-fmi", NULL),
84 DEF_CLKLOOK(&clk_ms, "nuc900-fmi", "MS"), 84 DEF_CLKLOOK(&clk_ms, "nuc900-fmi", "MS"),
85 DEF_CLKLOOK(&clk_sd, "nuc900-fmi", "SD"), 85 DEF_CLKLOOK(&clk_sd, "nuc900-fmi", "SD"),
diff --git a/arch/arm/mach-w90x900/dev.c b/arch/arm/mach-w90x900/dev.c
index 5b0c38abacc1..78110befb7a9 100644
--- a/arch/arm/mach-w90x900/dev.c
+++ b/arch/arm/mach-w90x900/dev.c
@@ -501,8 +501,8 @@ static struct resource nuc900_ac97_resource[] = {
501 501
502}; 502};
503 503
504struct platform_device nuc900_device_audio = { 504struct platform_device nuc900_device_ac97 = {
505 .name = "nuc900-audio", 505 .name = "nuc900-ac97",
506 .id = -1, 506 .id = -1,
507 .num_resources = ARRAY_SIZE(nuc900_ac97_resource), 507 .num_resources = ARRAY_SIZE(nuc900_ac97_resource),
508 .resource = nuc900_ac97_resource, 508 .resource = nuc900_ac97_resource,
@@ -523,7 +523,7 @@ static struct platform_device *nuc900_public_dev[] __initdata = {
523 &nuc900_device_emc, 523 &nuc900_device_emc,
524 &nuc900_device_spi, 524 &nuc900_device_spi,
525 &nuc900_device_wdt, 525 &nuc900_device_wdt,
526 &nuc900_device_audio, 526 &nuc900_device_ac97,
527}; 527};
528 528
529/* Provide adding specific CPU platform devices API */ 529/* Provide adding specific CPU platform devices API */
diff --git a/arch/arm/mach-w90x900/mfp.c b/arch/arm/mach-w90x900/mfp.c
index 9dd74612bb87..c58d142b8a46 100644
--- a/arch/arm/mach-w90x900/mfp.c
+++ b/arch/arm/mach-w90x900/mfp.c
@@ -155,7 +155,7 @@ void mfp_set_groupg(struct device *dev, const char *subname)
155 } else if (strcmp(dev_id, "nuc900-i2c1") == 0) { 155 } else if (strcmp(dev_id, "nuc900-i2c1") == 0) {
156 mfpen &= ~(GPIOG2TO3); 156 mfpen &= ~(GPIOG2TO3);
157 mfpen |= ENI2C1;/*enable i2c1*/ 157 mfpen |= ENI2C1;/*enable i2c1*/
158 } else if (strcmp(dev_id, "nuc900-audio") == 0) { 158 } else if (strcmp(dev_id, "nuc900-ac97") == 0) {
159 mfpen &= ~(GPIOG22TO23); 159 mfpen &= ~(GPIOG22TO23);
160 mfpen |= ENAC97;/*enable AC97*/ 160 mfpen |= ENAC97;/*enable AC97*/
161 } else if (strcmp(dev_id, "nuc900-mmc-port1") == 0) { 161 } else if (strcmp(dev_id, "nuc900-mmc-port1") == 0) {