On Fri, Dec 11, 2009 at 12:00:11PM +0100, Marc Zyngier wrote:
> Kukjin Kim <[email protected]> wrote:

> > +/* define the number of gpios we need to the one after the GPR() range */
> > +#define ARCH_NR_GPIOS              (S5P6440_GPR(S5P6440_GPIO_R_NR) + 1)

> Doing so prevents the use of GPIO expanders. Either provide a config
> option to provide additional GPIO space, or just get rid of the #define.

It also prevents the use of external devices with interrupt controllers
(eg, most PMICs these days).  See the S3C24xx and S3C64xx code for
examples of how to avoid this limit.
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to