Misc fixes based on RMK's comments for the omap-upstream
series.
Signed-off-by: Tony Lindgren <tony@atomide.com>
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 */
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);