diff options
author | Tony Lindgren <tony@atomide.com> | 2009-11-22 13:08:43 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-11-22 13:08:43 -0500 |
commit | a76df42a675c9936e8bf3607226e74c8a5e2d847 (patch) | |
tree | 96d93706d884dea956393653452fa4d78d8d7f76 /drivers/spi | |
parent | 648f4e3e50c4793d9dbf9a09afa193631f76fa26 (diff) | |
parent | 8171d88089ad63fc442b2bf32af7c18653adc5cb (diff) |
Merge 7xx-iosplit-plat-merge with omap-fixes
Merge branch '7xx-iosplit-plat-merge' into omap-for-linus
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/omap2_mcspi.c | 4 | ||||
-rw-r--r-- | drivers/spi/omap_uwire.c | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/spi/omap2_mcspi.c b/drivers/spi/omap2_mcspi.c index ba1a872b221e..bf5f95a19413 100644 --- a/drivers/spi/omap2_mcspi.c +++ b/drivers/spi/omap2_mcspi.c | |||
@@ -35,8 +35,8 @@ | |||
35 | 35 | ||
36 | #include <linux/spi/spi.h> | 36 | #include <linux/spi/spi.h> |
37 | 37 | ||
38 | #include <mach/dma.h> | 38 | #include <plat/dma.h> |
39 | #include <mach/clock.h> | 39 | #include <plat/clock.h> |
40 | 40 | ||
41 | 41 | ||
42 | #define OMAP2_MCSPI_MAX_FREQ 48000000 | 42 | #define OMAP2_MCSPI_MAX_FREQ 48000000 |
diff --git a/drivers/spi/omap_uwire.c b/drivers/spi/omap_uwire.c index e75ba9b28898..6c3a8557db27 100644 --- a/drivers/spi/omap_uwire.c +++ b/drivers/spi/omap_uwire.c | |||
@@ -51,8 +51,8 @@ | |||
51 | #include <asm/io.h> | 51 | #include <asm/io.h> |
52 | #include <asm/mach-types.h> | 52 | #include <asm/mach-types.h> |
53 | 53 | ||
54 | #include <mach/mux.h> | 54 | #include <plat/mux.h> |
55 | #include <mach/omap730.h> /* OMAP730_IO_CONF registers */ | 55 | #include <plat/omap7xx.h> /* OMAP7XX_IO_CONF registers */ |
56 | 56 | ||
57 | 57 | ||
58 | /* FIXME address is now a platform device resource, | 58 | /* FIXME address is now a platform device resource, |
@@ -504,7 +504,7 @@ static int __init uwire_probe(struct platform_device *pdev) | |||
504 | } | 504 | } |
505 | clk_enable(uwire->ck); | 505 | clk_enable(uwire->ck); |
506 | 506 | ||
507 | if (cpu_is_omap730()) | 507 | if (cpu_is_omap7xx()) |
508 | uwire_idx_shift = 1; | 508 | uwire_idx_shift = 1; |
509 | else | 509 | else |
510 | uwire_idx_shift = 2; | 510 | uwire_idx_shift = 2; |
@@ -573,8 +573,8 @@ static int __init omap_uwire_init(void) | |||
573 | } | 573 | } |
574 | if (machine_is_omap_perseus2()) { | 574 | if (machine_is_omap_perseus2()) { |
575 | /* configure pins: MPU_UW_nSCS1, MPU_UW_SDO, MPU_UW_SCLK */ | 575 | /* configure pins: MPU_UW_nSCS1, MPU_UW_SDO, MPU_UW_SCLK */ |
576 | int val = omap_readl(OMAP730_IO_CONF_9) & ~0x00EEE000; | 576 | int val = omap_readl(OMAP7XX_IO_CONF_9) & ~0x00EEE000; |
577 | omap_writel(val | 0x00AAA000, OMAP730_IO_CONF_9); | 577 | omap_writel(val | 0x00AAA000, OMAP7XX_IO_CONF_9); |
578 | } | 578 | } |
579 | 579 | ||
580 | return platform_driver_probe(&uwire_driver, uwire_probe); | 580 | return platform_driver_probe(&uwire_driver, uwire_probe); |