[PATCH] Fix cpu_is_omap343x()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cpu_is_omap343x() is missing its setup code, and returns 0 on all platforms -
including OMAP343x.  

Signed-off-by: Paul Walmsley <paul@xxxxxxxxx>

---
 include/asm-arm/arch-omap/cpu.h |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Index: linux-omap/include/asm-arm/arch-omap/cpu.h
===================================================================
--- linux-omap.orig/include/asm-arm/arch-omap/cpu.h	2007-11-23 17:46:16.000000000 -0700
+++ linux-omap/include/asm-arm/arch-omap/cpu.h	2007-11-28 17:59:03.000000000 -0700
@@ -122,6 +122,7 @@
 #define cpu_is_omap24xx()		0
 #define cpu_is_omap242x()		0
 #define cpu_is_omap243x()		0
+#define cpu_is_omap34xx()		0
 #define cpu_is_omap343x()		0
 
 #if defined(MULTI_OMAP1)
@@ -160,9 +161,9 @@
 # endif
 # if defined(CONFIG_ARCH_OMAP34XX)
 #  undef  cpu_is_omap34xx
+#  undef  cpu_is_omap343x
 #  define cpu_is_omap34xx()		1
-# else
-#  define cpu_is_omap34xx()		0
+#  define cpu_is_omap343x()		is_omap343x()
 # endif
 #endif
 
-
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux