ARM: sa1111: provide a generic way to prevent devices from registering
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 26 Jan 2012 13:34:21 +0000 (13:34 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Mar 2012 11:29:52 +0000 (11:29 +0000)
commit07be45f57ebe037977c8033a008e9012617b1915
treea3b7f11eb00c78e5817c68412cad0e412a5c55db
parente5c0fc4185c551c270868dcb6573604db2bc3171
ARM: sa1111: provide a generic way to prevent devices from registering

Some platforms don't want certain devices to be registered, because,
eg, the interface is not wired.  Provide a way for platforms to
prevent various devices from being registered via a devid bitmask in
the platform data.

Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/sa1111.c
arch/arm/include/asm/hardware/sa1111.h
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-sa1100/badge4.c
arch/arm/mach-sa1100/jornada720.c
arch/arm/mach-sa1100/neponset.c