PXA270_GPIO_NPINS
maxpin = CPU_IS_PXA270 ? PXA270_GPIO_NPINS : PXA250_GPIO_NPINS;
#define GPIO_NPINS PXA270_GPIO_NPINS
for (sc->sc_test_pin = 2; sc->sc_test_pin < PXA270_GPIO_NPINS; sc->sc_test_pin++) {
if (sc->sc_test_pin < PXA270_GPIO_NPINS) {
for (i = 0; i < PXA270_GPIO_NPINS; i++) {
for (sc->sc_test_pin = 2; sc->sc_test_pin < PXA270_GPIO_NPINS; sc->sc_test_pin++) {
if (sc->sc_test_pin < PXA270_GPIO_NPINS) {
if (++sc->sc_test_pin >= PXA270_GPIO_NPINS)
if (++sc->sc_test_pin >= PXA270_GPIO_NPINS)