Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5732601ybi; Wed, 12 Jun 2019 07:34:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqweffkCmlcD1UwbxVggrlDeTXh34886goSle6WtnBT4ecDfBZlpdX4kze48aCaZuaPKkjJf X-Received: by 2002:a17:90a:8415:: with SMTP id j21mr11694487pjn.21.1560350046858; Wed, 12 Jun 2019 07:34:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560350046; cv=none; d=google.com; s=arc-20160816; b=CxVvrWPci0jlFL/Lm7Gwc2QtnvVtfgap+LaYj8l1RtjgqXoIXhf+I88/GFuzPmGmCP hsqzGpuKfbvxfgpFsY4CoXX8dQDbkLBei9WpMhZhXeNa+1cgn/ieMUOQ0hFLlsEvMInZ 598WzyQLa6TeViGue7XtRHgfao17Snq4CavUvYyvyM3frNrQUx9uoP0J1/Y0iUicdVJw tMve8inkRrEMAZPoWARf+IUW0U47FLxG5OqihhGCorzR9QxtcXlrGCVJpYdp9uhTlr0L QQ1jy/u8RZAxye2MJA/1VRex/5icOE+fQIjkWFYstpcTWp9OCGs9hFxqXF+AZQshNe4R g6pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=TqpQfNrIY2SpB5jRuIghaLMN98QjpgnwAtCKC7E1c4Y=; b=C+BxvYjyg29PXcIirS0btY7PMBSJydetU/BopeZdqyVe/Br2u7J6xVB0JpmFCjw9HF yvY3q9aTBoJiwq3DEOyze1OeFiET0WygHDCKZa9Qu2/TeJh07joipxA9oLOgTJPWuTjf WfstSZd83FRIXw4U1lFJijOf0fDjeOI55MwCaIADbYkTV5l92Uu9KWg4Naf9Bpj4p26A aKlFzLylqTaSp4jlgJmMJnf9KYg8lJzeV/SX20CGXbvfqMg0QywlJMe5iyBwPMSRAgrT BGGPwvMEATg6PYrmpMDvGsXEnzW9/DzfwI74X0V1slv4oLcjFFsTjD1YZlVRWnsF7fnk eQsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yvFOoymH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v142si2981pgb.459.2019.06.12.07.33.51; Wed, 12 Jun 2019 07:34:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yvFOoymH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732026AbfFLKV0 (ORCPT + 99 others); Wed, 12 Jun 2019 06:21:26 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55740 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726849AbfFLKV0 (ORCPT ); Wed, 12 Jun 2019 06:21:26 -0400 Received: by mail-wm1-f65.google.com with SMTP id a15so5948361wmj.5 for ; Wed, 12 Jun 2019 03:21:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=TqpQfNrIY2SpB5jRuIghaLMN98QjpgnwAtCKC7E1c4Y=; b=yvFOoymHNRSw3LFLpbLHeLylxjqjH/FhSo8kjTGZzsNd2rtG9abw0Z/tWTPasqiBcA CFac/28if66zb8Dx9+2wcZPPgiqen78KiIZUyqcyS3TSpTc4ffIvj3wDKhGscMRhtgEw zsshAfe23zdRQDOSwiYiiOkaM9MGLon59ehCWPfRe+MNnJn2SlkEJwwJUPWIgVyCe7Au HJSPJVYg6NU3Fm4tHfy7y5P3E3D6oK1IZFrRYr5HHJzQpP164VZkZ8dLZMNbbIEye1aX mHSt+B7te8yWViuDseSk+zARKCBocsPH0wlpsWOk4tdngvDfP12g+NcXx2gRElgu+eNp eDGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=TqpQfNrIY2SpB5jRuIghaLMN98QjpgnwAtCKC7E1c4Y=; b=DPg+DRHNN7hgdvoptQzwNOtkJA3r4XFgxgGHE1igefalep+uLjrmmdV8jIAnIWPdZc Xa27L9OD8RaL7qt76akYhagyLucDUlPnkjzd57p3WM2y7ARONL+je5QsTsNLyIe0/iNf ud0Y2YZBvePrDhPp3ZELyvSaaSeR49CmA/oyDY/FbK+1Ez9IjY5IUV2qhFAx3F0UaUuP v+cCMISFIWK8K//IiIeQR71LgCn1DYa90ZTULNCAwyTfcujxO4EIr+vZBelWUJUCftpp pU35LSzzUkpIwvtDfX8h5hDEypOsBdvpwJvPKazIZaAkwrepq5r8zivv3UUlwdtCvVXD 4vOA== X-Gm-Message-State: APjAAAVEEpwdvf6hnN45ZJ2uQ4zsQHaiXXTtsaEqQxRUQGjRtBBLfkRW iqybe1A3Vwfi0otL79HtG+HLHD2TDu4= X-Received: by 2002:a7b:c775:: with SMTP id x21mr21264282wmk.9.1560334883924; Wed, 12 Jun 2019 03:21:23 -0700 (PDT) Received: from dell ([185.80.132.160]) by smtp.gmail.com with ESMTPSA id v7sm831500wrv.71.2019.06.12.03.21.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Jun 2019 03:21:22 -0700 (PDT) Date: Wed, 12 Jun 2019 11:21:21 +0100 From: Lee Jones To: Anders Roxell Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] drivers: mfd: 88pm800: fix warning same module names Message-ID: <20190612102121.GI4797@dell> References: <20190612081203.1477-1-anders.roxell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190612081203.1477-1-anders.roxell@linaro.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 12 Jun 2019, Anders Roxell wrote: > When building with CONFIG_MFD_88PM800 and CONFIG_REGULATOR_88PM800 > enabled as loadable modules, we see the following warning: > > warning: same module names found: > drivers/regulator/88pm800.ko > drivers/mfd/88pm800.ko > > Rework so the names matches the config fragment. Please detail what this actually changes. I.e. what the new modules names will be. > Signed-off-by: Anders Roxell > --- > drivers/mfd/Makefile | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile > index 52b1a90ff515..5e870eef6a20 100644 > --- a/drivers/mfd/Makefile > +++ b/drivers/mfd/Makefile > @@ -5,8 +5,11 @@ > > 88pm860x-objs := 88pm860x-core.o 88pm860x-i2c.o > obj-$(CONFIG_MFD_88PM860X) += 88pm860x.o > -obj-$(CONFIG_MFD_88PM800) += 88pm800.o 88pm80x.o > -obj-$(CONFIG_MFD_88PM805) += 88pm805.o 88pm80x.o > +obj-$(CONFIG_MFD_88PM800) += mfd-88pm800.o mfd-88pm80x.o > +mfd-88pm800-objs := 88pm800.o > +obj-$(CONFIG_MFD_88PM805) += mfd-88pm805.o mfd-88pm80x.o > +mfd-88pm805-objs := 88pm805.o > +mfd-88pm80x-objs := 88pm80x.o > obj-$(CONFIG_MFD_ACT8945A) += act8945a.o > obj-$(CONFIG_MFD_SM501) += sm501.o > obj-$(CONFIG_MFD_ASIC3) += asic3.o tmio_core.o -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog