aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/amba
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2011-02-12 09:58:25 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-23 11:24:08 -0500
commit394d5aefcdecb51bbf7d6df757e73559c9692a08 (patch)
tree09e60f99ee47c31e461b7507bce4fd194eea460a /drivers/amba
parent85e2efbb1db9a18d218006706d6e4fbeb0216213 (diff)
ARM: 6662/1: amba: make amba_bustype non-static
Export amba_bustype struct so it can be used for things like registering bus notifiers. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/amba')
-rw-r--r--drivers/amba/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c
index e7df019d29d4..ca96b0a26303 100644
--- a/drivers/amba/bus.c
+++ b/drivers/amba/bus.c
@@ -106,7 +106,7 @@ static struct device_attribute amba_dev_attrs[] = {
106 * Primecells are part of the Advanced Microcontroller Bus Architecture, 106 * Primecells are part of the Advanced Microcontroller Bus Architecture,
107 * so we call the bus "amba". 107 * so we call the bus "amba".
108 */ 108 */
109static struct bus_type amba_bustype = { 109struct bus_type amba_bustype = {
110 .name = "amba", 110 .name = "amba",
111 .dev_attrs = amba_dev_attrs, 111 .dev_attrs = amba_dev_attrs,
112 .match = amba_match, 112 .match = amba_match,