]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: Remove dependency of plat-orion GPIO code on mach directory includes.
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 14 Dec 2010 11:54:03 +0000 (12:54 +0100)
committerNicolas Pitre <nico@fluxnic.net>
Thu, 3 Mar 2011 21:27:02 +0000 (16:27 -0500)
commit6934fde466ad5b5f0613e48b4d8f5c80088f5561
tree3f3eb4504f3221954a5adaae66e417d9a0883e71
parentf1284ba060761e53a09bc004340440fb238493ce
ARM: Remove dependency of plat-orion GPIO code on mach directory includes.

This patch makes the various mach dirs that use the plat-orion GPIO
code pass in GPIO-related platform info (GPIO controller base address,
secondary base IRQ number, etc) explicitly, instead of having
plat-orion get those values by including a mach dir include file --
the latter mechanism is problematic if you want to support multiple
ARM platforms in the same kernel image.

Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
17 files changed:
arch/arm/mach-dove/include/mach/dove.h
arch/arm/mach-dove/include/mach/gpio.h
arch/arm/mach-dove/irq.c
arch/arm/mach-kirkwood/include/mach/gpio.h
arch/arm/mach-kirkwood/include/mach/kirkwood.h
arch/arm/mach-kirkwood/irq.c
arch/arm/mach-kirkwood/mpp.c
arch/arm/mach-mv78xx0/include/mach/gpio.h
arch/arm/mach-mv78xx0/include/mach/mv78xx0.h
arch/arm/mach-mv78xx0/irq.c
arch/arm/mach-mv78xx0/mpp.c
arch/arm/mach-orion5x/include/mach/gpio.h
arch/arm/mach-orion5x/include/mach/orion5x.h
arch/arm/mach-orion5x/irq.c
arch/arm/mach-orion5x/mpp.c
arch/arm/plat-orion/gpio.c
arch/arm/plat-orion/include/plat/gpio.h