Re: [PATCH] pio: add arch specific gpio_is_valid() function
From: David Brownell
Date: Mon Sep 06 2010 - 22:23:33 EST
Still not liking or accepting this proposed
change to the GPIO framework.
For the AT91 case (where integers 0..N are
IRQs, but N..max are GPIOs)
A simpler solution is just to use a bit in
the integer to indicate IRQ vs GPIO. Like
maybe the sign bit.. which is never set on
valid GPIO numbers, but platforms could let
be set on IRQs.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/