diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-04-18 04:54:00 -0400 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-04-18 04:54:00 -0400 |
| commit | 4741c336d27dec3ea68a35659abb8dc82b142388 (patch) | |
| tree | a8576df82129354b77b0144c480c446ec7aba7b2 /arch/arm | |
| parent | 26ec634c31a11a003040e10b4d650495158632fd (diff) | |
| parent | a9a5cd5d2a57fb76dbae2115450f777b69beccf7 (diff) | |
Merge branch 'master'
Diffstat (limited to 'arch/arm')
| -rw-r--r-- | arch/arm/mach-at91rm9200/devices.c | 12 | ||||
| -rw-r--r-- | arch/arm/mach-s3c2410/common-smdk.c | 2 | ||||
| -rw-r--r-- | arch/arm/mach-s3c2410/s3c2440-clock.c | 2 |
3 files changed, 13 insertions, 3 deletions
diff --git a/arch/arm/mach-at91rm9200/devices.c b/arch/arm/mach-at91rm9200/devices.c index 1781b8f342c4..bfe47bd6e50c 100644 --- a/arch/arm/mach-at91rm9200/devices.c +++ b/arch/arm/mach-at91rm9200/devices.c | |||
| @@ -194,13 +194,23 @@ void __init at91_add_device_eth(struct at91_eth_data *data) {} | |||
| 194 | #if defined(CONFIG_AT91_CF) || defined(CONFIG_AT91_CF_MODULE) | 194 | #if defined(CONFIG_AT91_CF) || defined(CONFIG_AT91_CF_MODULE) |
| 195 | static struct at91_cf_data cf_data; | 195 | static struct at91_cf_data cf_data; |
| 196 | 196 | ||
| 197 | static struct resource at91_cf_resources[] = { | ||
| 198 | [0] = { | ||
| 199 | .start = AT91_CF_BASE, | ||
| 200 | /* ties up CS4, CS5, and CS6 */ | ||
| 201 | .end = AT91_CF_BASE + (0x30000000 - 1), | ||
| 202 | .flags = IORESOURCE_MEM | IORESOURCE_MEM_8AND16BIT, | ||
| 203 | }, | ||
| 204 | }; | ||
| 205 | |||
| 197 | static struct platform_device at91rm9200_cf_device = { | 206 | static struct platform_device at91rm9200_cf_device = { |
| 198 | .name = "at91_cf", | 207 | .name = "at91_cf", |
| 199 | .id = -1, | 208 | .id = -1, |
| 200 | .dev = { | 209 | .dev = { |
| 201 | .platform_data = &cf_data, | 210 | .platform_data = &cf_data, |
| 202 | }, | 211 | }, |
| 203 | .num_resources = 0, | 212 | .resource = at91_cf_resources, |
| 213 | .num_resources = ARRAY_SIZE(at91_cf_resources), | ||
| 204 | }; | 214 | }; |
| 205 | 215 | ||
| 206 | void __init at91_add_device_cf(struct at91_cf_data *data) | 216 | void __init at91_add_device_cf(struct at91_cf_data *data) |
diff --git a/arch/arm/mach-s3c2410/common-smdk.c b/arch/arm/mach-s3c2410/common-smdk.c index f372fbda124e..c940890f621f 100644 --- a/arch/arm/mach-s3c2410/common-smdk.c +++ b/arch/arm/mach-s3c2410/common-smdk.c | |||
| @@ -50,7 +50,7 @@ static struct mtd_partition smdk_default_nand_part[] = { | |||
| 50 | .offset = 0, | 50 | .offset = 0, |
| 51 | }, | 51 | }, |
| 52 | [1] = { | 52 | [1] = { |
| 53 | .name = "S3C2410 flash parition 1", | 53 | .name = "S3C2410 flash partition 1", |
| 54 | .offset = 0, | 54 | .offset = 0, |
| 55 | .size = SZ_2M, | 55 | .size = SZ_2M, |
| 56 | }, | 56 | }, |
diff --git a/arch/arm/mach-s3c2410/s3c2440-clock.c b/arch/arm/mach-s3c2410/s3c2440-clock.c index 57a15974d4b5..d7a30ed6c327 100644 --- a/arch/arm/mach-s3c2410/s3c2440-clock.c +++ b/arch/arm/mach-s3c2410/s3c2440-clock.c | |||
| @@ -139,7 +139,7 @@ static int s3c2440_clk_add(struct sys_device *sysdev) | |||
| 139 | 139 | ||
| 140 | clkdivn = __raw_readl(S3C2410_CLKDIVN); | 140 | clkdivn = __raw_readl(S3C2410_CLKDIVN); |
| 141 | clkdivn |= S3C2440_CLKDIVN_UCLK; | 141 | clkdivn |= S3C2440_CLKDIVN_UCLK; |
| 142 | __raw_writel(camdivn, S3C2410_CLKDIVN); | 142 | __raw_writel(clkdivn, S3C2410_CLKDIVN); |
| 143 | 143 | ||
| 144 | mutex_unlock(&clocks_mutex); | 144 | mutex_unlock(&clocks_mutex); |
| 145 | } | 145 | } |
