From: Rabin Vincent Date: Wed, 3 Mar 2010 03:52:34 +0000 (+0100) Subject: ARM: 5972/1: nomadik-gpio: convert to platform driver X-Git-Tag: v2.6.35-rc1~503^2~4^6~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e3c62ca5395df48319b808379bc9fd487ff3c29;p=pandora-kernel.git ARM: 5972/1: nomadik-gpio: convert to platform driver On the U8500 platform there are four GPIO blocks, each with a 4K address space, including the peripheral identification. However, each of these blocks have a varying number of banks, each of which have 32 GPIOs and an interrupt line. The current nomadik-gpio driver implementation can handle each of these sub-banks easily with one instance each, but cannot as-is be hooked up to them because it is an AMBA driver and it expects to see a peripheral with the appropriate peripheral ids but having only one bank and only one interrupt. Solve this by converting the driver to a platform driver. Acked-by: Alessandro Rubini Acked-by: Linus Walleij Signed-off-by: Rabin Vincent Signed-off-by: Russell King --- Reading git-diff-tree failed