From e9ac68c34f70a0c8d51ee63d259f7c8e79b362c1 Mon Sep 17 00:00:00 2001 From: Kim Phillips Date: Mon, 14 May 2018 21:51:55 +0100 Subject: ARM: 8773/1: amba: Export amba_bustype This patch is provided in the context of allowing the Coresight driver subsystem to be loaded as modules. Coresight uses amba_bus in its call to bus_find_device() in of_coresight_get_endpoint_device() when searching for a configurable endpoint device. This patch allows Coresight to reference amba_bustype when built as a module. [original LKML submission here: https://lkml.org/lkml/2018/5/9/520] Cc: Mathieu Poirier Cc: Alex Williamson Cc: Eric Auger Cc: Greg Kroah-Hartman Cc: Todd Kjos Cc: Geert Uytterhoeven Cc: Thierry Reding Reviewed-by: Robin Murphy Signed-off-by: Kim Phillips Signed-off-by: Russell King --- drivers/amba/bus.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/amba') 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) { -- cgit v1.2.3