From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932213AbdJWL4h (ORCPT ); Mon, 23 Oct 2017 07:56:37 -0400 Received: from mga07.intel.com ([134.134.136.100]:54131 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932096AbdJWL4g (ORCPT ); Mon, 23 Oct 2017 07:56:36 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,422,1503385200"; d="scan'208";a="165895153" Message-ID: <1508759787.29460.6.camel@linux.intel.com> Subject: Re: [PATCH 07/14] regmap: Add SoundWire bus support From: Alan Cox To: Mark Brown , Vinod Koul Cc: Greg Kroah-Hartman , LKML , ALSA , Takashi , Pierre , Sanyog Kale , Shreyas NC , patches.audio@intel.com, Charles Keepax , Sagar Dharia , srinivas.kandagatla@linaro.org, plai@codeaurora.org, Sudheer Papothi Date: Mon, 23 Oct 2017 12:56:27 +0100 In-Reply-To: <20171021093426.vzhv3ponaxhi4yw3@sirena.org.uk> References: <1508382211-3154-1-git-send-email-vinod.koul@intel.com> <1508382211-3154-8-git-send-email-vinod.koul@intel.com> <20171021093426.vzhv3ponaxhi4yw3@sirena.org.uk> Organization: Intel Corporation Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6 (3.22.6-2.fc25) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2017-10-21 at 10:34 +0100, Mark Brown wrote: > On Thu, Oct 19, 2017 at 08:33:23AM +0530, Vinod Koul wrote: > > > + *  BSD LICENSE > > + * > > + *  Copyright(c) 2015-17 Intel Corporation. > > + * > > + *  Redistribution and use in source and binary forms, with or > > without > > + *  modification, are permitted provided that the following > > conditions > > + *  are met: > > Really unhappy with the dual licensing for regmap code, this is > interface code for some GPL only kernel code and... if anyone uses it with GPL code then it ends up GPL so in the Linux kernel context it's always going to be GPL. > > +EXPORT_SYMBOL(__regmap_init_sdw); > > ...this is just an obvious attempt to allow non-GPL code to directly > use > GPL code. There's nothing in the GPL about EXPORT_SYMBOL. If its built GPL dependent then it depends upon GPL code so is GPL. Alan