]> git.baikalelectronics.ru Git - kernel.git/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)
commitb8dd69293cdd518985c5fc536a256cfe4cf21f30
tree8b434d43a66e690755eaa07daf0bb9b147ac92f7
parent0eef261bcb4ce26919bb06f6efdd327a5c768398
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