From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751463AbdFZHab (ORCPT ); Mon, 26 Jun 2017 03:30:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40246 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751376AbdFZHaZ (ORCPT ); Mon, 26 Jun 2017 03:30:25 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B4DD759 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=eric.auger@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com B4DD759 Subject: Re: [PATCH v3 8/9] amba: Export amba_bustype To: Alex Williamson , kvm@vger.kernel.org References: <20170620154312.17487.66916.stgit@gimli.home> <20170620154838.17487.77578.stgit@gimli.home> Cc: linux@armlinux.org.uk, linux-kernel@vger.kernel.org From: Auger Eric Message-ID: Date: Mon, 26 Jun 2017 09:30:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20170620154838.17487.77578.stgit@gimli.home> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Mon, 26 Jun 2017 07:30:24 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alex, On 20/06/2017 17:48, 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 Reviewed-by: Eric Auger Thanks Eric > --- > 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) > { >