diff options
author | Vladimir Ananiev <vovan888@gmail.com> | 2006-12-11 21:30:21 (GMT) |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2007-03-02 09:47:12 (GMT) |
commit | 99c658a6c018a88b336dbd54d2e552db85348894 (patch) | |
tree | f70dddad6ede4704f8868fd6ec9de7d2877af234 /include | |
parent | 193506106d19ad54d56740612bf1be1c68d13bb8 (diff) | |
download | linux-fsl-qoriq-99c658a6c018a88b336dbd54d2e552db85348894.tar.xz |
ARM: OMAP: omap1510->15xx conversions needed for sx1
Convert 1510->15xx in generic omap code, so that sx1 can work.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-omap/memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/arch-omap/memory.h b/include/asm-arm/arch-omap/memory.h index df50dd5..48fabc4 100644 --- a/include/asm-arm/arch-omap/memory.h +++ b/include/asm-arm/arch-omap/memory.h @@ -70,7 +70,7 @@ #define virt_to_lbus(x) ((x) - PAGE_OFFSET + OMAP1510_LB_OFFSET) #define lbus_to_virt(x) ((x) - OMAP1510_LB_OFFSET + PAGE_OFFSET) -#define is_lbus_device(dev) (cpu_is_omap1510() && dev && (strncmp(dev->bus_id, "ohci", 4) == 0)) +#define is_lbus_device(dev) (cpu_is_omap15xx() && dev && (strncmp(dev->bus_id, "ohci", 4) == 0)) #define __arch_page_to_dma(dev, page) ({is_lbus_device(dev) ? \ (dma_addr_t)virt_to_lbus(page_address(page)) : \ |