Re: [PATCH] ARM: OMAP: Remove compiler warning when i2c is not set

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

 



On Fri, 29 Feb 2008 08:12:05 +0900
"ext Kyungmin Park" <kyungmin.park@xxxxxxxxxxx> wrote:

> Remove compiler warning when i2c is not set
> 
>  #else
> -#define omap_register_i2c_bus(a, b, c, d)	0
> +#define omap_register_i2c_bus(a, b, c, d)	do { } while (0)
>  #endif
>  
Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxx>

Tony, this patch should go to upstream fixes as well.

---

Hmm, I'm wondering what was wrong with Kyungmin's original fix
d87e74e67b5285e52c986e1c1be20b4107060985? It was changed to

-#define omap_register_i2c_bus(...)     do { } while (0)
+#define omap_register_i2c_bus(a, b, c, d)      0

by commit bbe976ce41fbe5fd0e402b71349271c1fe599043

Author: Tony Lindgren <tony@xxxxxxxxxxx>
Date:   Mon Jan 14 17:22:31 2008 -0800

    ARM: OMAP: Misc fixes based on RMK's comments
--
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