Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172701
b: refs/heads/master
c: 7a8f48f
h: refs/heads/master
i:
  172699: 252c31d
v: v3
  • Loading branch information
Alistair Buxton committed Oct 7, 2009
1 parent e3b54da commit 20a190c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7c0069264017fdac8ef017b8893f0f0d7a13851a
refs/heads/master: 7a8f48f8c611ac8c07023260258e2fec312b9242
8 changes: 4 additions & 4 deletions trunk/drivers/spi/omap_uwire.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#include <asm/mach-types.h>

#include <mach/mux.h>
#include <mach/omap730.h> /* OMAP730_IO_CONF registers */
#include <mach/omap7xx.h> /* OMAP7XX_IO_CONF registers */


/* FIXME address is now a platform device resource,
Expand Down Expand Up @@ -504,7 +504,7 @@ static int __init uwire_probe(struct platform_device *pdev)
}
clk_enable(uwire->ck);

if (cpu_is_omap730())
if (cpu_is_omap7xx())
uwire_idx_shift = 1;
else
uwire_idx_shift = 2;
Expand Down Expand Up @@ -573,8 +573,8 @@ static int __init omap_uwire_init(void)
}
if (machine_is_omap_perseus2()) {
/* configure pins: MPU_UW_nSCS1, MPU_UW_SDO, MPU_UW_SCLK */
int val = omap_readl(OMAP730_IO_CONF_9) & ~0x00EEE000;
omap_writel(val | 0x00AAA000, OMAP730_IO_CONF_9);
int val = omap_readl(OMAP7XX_IO_CONF_9) & ~0x00EEE000;
omap_writel(val | 0x00AAA000, OMAP7XX_IO_CONF_9);
}

return platform_driver_probe(&uwire_driver, uwire_probe);
Expand Down

0 comments on commit 20a190c

Please sign in to comment.