]> err.no Git - linux-2.6/commit
i2c-pxa: Remove hardcoded #ifdef and use cpu_is_pxa27x
authoreric miao <eric.y.miao@gmail.com>
Sun, 27 Jan 2008 17:14:46 +0000 (18:14 +0100)
committerJean Delvare <khali@hyperion.delvare>
Sun, 27 Jan 2008 17:14:46 +0000 (18:14 +0100)
commit59d70df025473931c500d6d60510798e4bfa3279
tree8b434d43a66e690755eaa07daf0bb9b147ac92f7
parent7e8b99251be8b6f992baa88e3a6ba3c4ae01660b
i2c-pxa: Remove hardcoded #ifdef and use cpu_is_pxa27x

remove #ifdef CONFIG_PXA27x .. #endif and use cpu_is_pxaXXXX() macros
so that a single binary can support PXA25x/PXA27x/PXA3xx at run-time.

Signed-off-by: eric miao <eric.miao@marvell.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-pxa.c