Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751058AbdFSRbV (ORCPT ); Mon, 19 Jun 2017 13:31:21 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:45390 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750780AbdFSRbU (ORCPT ); Mon, 19 Jun 2017 13:31:20 -0400 Date: Mon, 19 Jun 2017 18:31:10 +0100 From: Russell King - ARM Linux To: Alex Williamson Cc: kvm@vger.kernel.org, eric.auger@redhat.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 8/9] amba: Export amba_bustype Message-ID: <20170619173109.GI4902@n2100.armlinux.org.uk> References: <20170619170323.14047.26504.stgit@gimli.home> <20170619171529.14047.92652.stgit@gimli.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170619171529.14047.92652.stgit@gimli.home> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1068 Lines: 34 This patch on its own doesn't make much sense to me... any chance of seeing the full series please? Thanks. On Mon, Jun 19, 2017 at 11:15:29AM -0600, Alex Williamson wrote: > 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(). > > Signed-off-by: Alex Williamson > Reported-by: Eric Auger > Cc: Russell King > --- > drivers/amba/bus.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c > index a56fa2a1e9aa..4e118cd3ddf3 100644 > --- a/drivers/amba/bus.c > +++ b/drivers/amba/bus.c > @@ -197,6 +197,7 @@ struct bus_type amba_bustype = { > .uevent = amba_uevent, > .pm = &amba_pm, > }; > +EXPORT_SYMBOL_GPL(amba_bustype); > > static int __init amba_init(void) > { > -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.