gpio: move mpc8xxx/512x gpio driver to drivers/gpio
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 21 Sep 2011 10:49:20 +0000 (12:49 +0200)
committerAnatolij Gustschin <agust@denx.de>
Thu, 22 Sep 2011 22:14:15 +0000 (00:14 +0200)
commitc68308dd50c3827a4ce77a1d70e0eb2d2521cafd
treeda838e0c576ebbf7583ee485c7366b6380b13663
parent40dc7e8b4ac5cdfcf13e3d80b71240f90ceb1f5b
gpio: move mpc8xxx/512x gpio driver to drivers/gpio

Move the driver to the place where it is expected to be nowadays. Also
rename its CONFIG-name to match the rest and adapt the defconfigs.
Finally, move selection of REQUIRE_GPIOLIB or WANTS_OPTIONAL_GPIOLIB to
the platforms, because this option is per-platform and not per-driver.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
15 files changed:
arch/powerpc/configs/85xx/p1023rds_defconfig
arch/powerpc/configs/85xx/xes_mpc85xx_defconfig
arch/powerpc/configs/mpc85xx_defconfig
arch/powerpc/configs/mpc85xx_smp_defconfig
arch/powerpc/configs/ppc6xx_defconfig
arch/powerpc/platforms/512x/Kconfig
arch/powerpc/platforms/83xx/Kconfig
arch/powerpc/platforms/85xx/Kconfig
arch/powerpc/platforms/86xx/Kconfig
arch/powerpc/platforms/Kconfig
arch/powerpc/sysdev/Makefile
arch/powerpc/sysdev/mpc8xxx_gpio.c [deleted file]
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-mpc8xxx.c [new file with mode: 0644]