]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Misc fixes based on RMK's comments
authorTony Lindgren <tony@atomide.com>
Tue, 15 Jan 2008 01:22:31 +0000 (17:22 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 15 Jan 2008 01:22:31 +0000 (17:22 -0800)
Misc fixes based on RMK's comments for the omap-upstream
series.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dmtimer.c
include/asm-arm/arch-omap/common.h

index 36bcdbf2b9f57f9a88e3ea37c63b1a86a934aafa..e719d0eeb5c88f2b079d2d67c07486730dc55bbb 100644 (file)
@@ -221,7 +221,7 @@ static void omap_dm_timer_reset(struct omap_dm_timer *timer)
        l = omap_dm_timer_read_reg(timer, OMAP_TIMER_OCP_CFG_REG);
        l |= 0x02 << 3;
 
-       if (cpu_class_is_omap2() && (timer == &dm_timers[0])) {
+       if (cpu_class_is_omap2() && timer == &dm_timers[0]) {
                /* Enable wake-up only for GPT1 on OMAP2 CPUs*/
                l |= 1 << 2;
                /* Non-posted mode */
index 0255d822d7ceee1eab44742c1b17e58e6803692b..688fcd790c02e128c96b0f3375dc7862a7288eea 100644 (file)
@@ -41,7 +41,7 @@ extern int omap_register_i2c_bus(int bus_id, u32 clkrate,
                                 struct i2c_board_info const *info,
                                 unsigned len);
 #else
-#define omap_register_i2c_bus(...)     do { } while (0)
+#define omap_register_i2c_bus(a, b, c, d)      0
 #endif
 
 void omap2_set_globals_242x(void);