From: Wolfram Sang Date: Mon, 16 Aug 2010 15:14:44 +0000 (+0200) Subject: gpio: Add bitmask to block requests to unavailable stmpe GPIOs X-Git-Tag: v2.6.37-rc1~52^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8e9cf0b28173fc25dae9f3ac44de6fc4e9fc385;p=pandora-kernel.git gpio: Add bitmask to block requests to unavailable stmpe GPIOs GPIOs on these controller are multi-functional. If you decided to use some of them e.g. as input channels for the ADC, you surely don't want those pins to be reassigned as simple GPIOs (which may be triggered even from userspace via 'export'). Same for the touchscreen controller pins. Since knowledge about the hardware is needed to decide which GPIOs to reserve, let this bitmask be inside platform_data and provide some defines to assist potential users. Signed-off-by: Wolfram Sang Acked-by: Rabin Vincent Cc: Linus Walleij Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed