summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-omap/memory.h
diff options
context:
space:
mode:
authorVladimir Ananiev2006-12-11 22:30:21 +0100
committerTony Lindgren2007-03-02 10:47:12 +0100
commit99c658a6c018a88b336dbd54d2e552db85348894 (patch)
treef70dddad6ede4704f8868fd6ec9de7d2877af234 /include/asm-arm/arch-omap/memory.h
parentARM: OMAP: Add missing includes to board-nokia770 (diff)
downloadkernel-qcow2-linux-99c658a6c018a88b336dbd54d2e552db85348894.tar.gz
kernel-qcow2-linux-99c658a6c018a88b336dbd54d2e552db85348894.tar.xz
kernel-qcow2-linux-99c658a6c018a88b336dbd54d2e552db85348894.zip
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/asm-arm/arch-omap/memory.h')
-rw-r--r--include/asm-arm/arch-omap/memory.h2
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 df50dd53e1dd..48fabc493163 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)) : \