aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-26 08:34:21 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-03-24 07:29:52 -0400
commit07be45f57ebe037977c8033a008e9012617b1915 (patch)
treea3b7f11eb00c78e5817c68412cad0e412a5c55db /arch/arm/include/asm
parente5c0fc4185c551c270868dcb6573604db2bc3171 (diff)
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/include/asm')
-rw-r--r--arch/arm/include/asm/hardware/sa1111.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/hardware/sa1111.h b/arch/arm/include/asm/hardware/sa1111.h
index 37ad29d482f4..74afe20fffff 100644
--- a/arch/arm/include/asm/hardware/sa1111.h
+++ b/arch/arm/include/asm/hardware/sa1111.h
@@ -584,6 +584,7 @@ void sa1111_set_sleep_io(struct sa1111_dev *sadev, unsigned int bits, unsigned i
584 584
585struct sa1111_platform_data { 585struct sa1111_platform_data {
586 int irq_base; /* base for cascaded on-chip IRQs */ 586 int irq_base; /* base for cascaded on-chip IRQs */
587 unsigned disable_devs;
587 void *data; 588 void *data;
588 int (*enable)(void *, unsigned); 589 int (*enable)(void *, unsigned);
589 void (*disable)(void *, unsigned); 590 void (*disable)(void *, unsigned);