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>
This commit is contained in:
parent
85e2efbb1d
commit
394d5aefcd
2 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue