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:
committed by
Russell King
parent
85e2efbb1d
commit
394d5aefcd
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user