This allows modules to match struct device.bus to amba_bustype for the purpose of casting the device to an amba_device with to_amba_device().
Cc: Alex Williamson alex.williamson@redhat.com Cc: Eric Auger eric.auger@redhat.com Cc: Russell King linux@armlinux.org.uk [RESEND due to new coresight modularization dependency] Signed-off-by: Kim Phillips kim.phillips@arm.com --- Change(s) from first PATCH series: none.
drivers/amba/bus.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c index 594c228d2f02..12283bd06733 100644 --- a/drivers/amba/bus.c +++ b/drivers/amba/bus.c @@ -197,6 +197,7 @@ struct bus_type amba_bustype = { .pm = &amba_pm, .force_dma = true, }; +EXPORT_SYMBOL_GPL(amba_bustype);
static int __init amba_init(void) {