summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-26 13:34:21 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-03-24 11:29:52 +0000
commit07be45f57ebe037977c8033a008e9012617b1915 (patch)
treea3b7f11eb00c78e5817c68412cad0e412a5c55db /arch/arm/mach-pxa
parente5c0fc4185c551c270868dcb6573604db2bc3171 (diff)
downloadop-kernel-dev-07be45f57ebe037977c8033a008e9012617b1915.zip
op-kernel-dev-07be45f57ebe037977c8033a008e9012617b1915.tar.gz
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>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r--arch/arm/mach-pxa/lubbock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c
index 6ebd276..6bb3f47 100644
--- a/arch/arm/mach-pxa/lubbock.c
+++ b/arch/arm/mach-pxa/lubbock.c
@@ -223,6 +223,7 @@ static struct resource sa1111_resources[] = {
static struct sa1111_platform_data sa1111_info = {
.irq_base = LUBBOCK_SA1111_IRQ_BASE,
+ .disable_devs = SA1111_DEVID_SAC,
};
static struct platform_device sa1111_device = {
OpenPOWER on IntegriCloud