summaryrefslogtreecommitdiff
path: root/include/linux/amba/bus.h
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2011-02-12 17:58:25 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-23 19:24:08 +0300
commit394d5aefcdecb51bbf7d6df757e73559c9692a08 (patch)
tree09e60f99ee47c31e461b7507bce4fd194eea460a /include/linux/amba/bus.h
parent85e2efbb1db9a18d218006706d6e4fbeb0216213 (diff)
downloadlinux-394d5aefcdecb51bbf7d6df757e73559c9692a08.tar.xz
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 'include/linux/amba/bus.h')
-rw-r--r--include/linux/amba/bus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/amba/bus.h b/include/linux/amba/bus.h
index 9e7f259346e1..a0ccf28e9741 100644
--- a/include/linux/amba/bus.h
+++ b/include/linux/amba/bus.h
@@ -56,6 +56,8 @@ enum amba_vendor {
AMBA_VENDOR_ST = 0x80,
};
+extern struct bus_type amba_bustype;
+
#define amba_get_drvdata(d) dev_get_drvdata(&d->dev)
#define amba_set_drvdata(d,p) dev_set_drvdata(&d->dev, p)