]> git.karo-electronics.de Git - linux-beck.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)
commit9eac6d0a4e7e5149a7f86575b46d710ad2e05fe2
tree3f3eb4504f3221954a5adaae66e417d9a0883e71
parent4ee1f6b574765a6c97f945e6b0277e5ccac38cb5
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