From patchwork Wed Jun 12 08:12:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 166525 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3378226ilk; Wed, 12 Jun 2019 01:12:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuN6HTRKZdPChv+NSzmrHkU5ihr9t2rP//rQ3ZjFRY656Ka718mElCHTLe/PavngHK5rfH X-Received: by 2002:a17:902:9b94:: with SMTP id y20mr65500656plp.260.1560327133153; Wed, 12 Jun 2019 01:12:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560327133; cv=none; d=google.com; s=arc-20160816; b=DlaE3bryKyj14lwHHpTjtvApLhsgWdiyhtMZJIjNYGjefd537lChOOXZCy8QgFfjtl LpG1lvyOrYSo96GMrApvWzdKoEgEr20xkgQFqu2o/fEnJk/rHNS8VgL3TMpZcYkdTGKl yS2gUxoex0pyswiC1xA093YLYOm05U435Z4oiTlZE5nvnjnHFA53yommLRUPpJQIzMFB UrIYY6LvPQP6vXxS+HYzyaqqaefEo86vD9a3M4qJagva6ttaLYdnXtqXwOBkwEPUKZ2J GFCi+YvBfZfyE8BoZo2yscjuNnyHSxg8zsnZ0kBgivBl4+Q4r85OWSDtDWb0/nURCJlL /zdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=tqLAHFWcFPPRWg/WUmIKVQXRfjbKzLHes3un8tM9Gvg=; b=lEkaqlk0ghE7jtuSFn0HeLOwB6ZL96vGYHj5e5giga93E3jPno6n7GCaJmGL60fy2T gv0/phWCQe02qiKC7EwM2RkNijq5N7pdXLn8v8/kyJTrGV9jgfY5ejFmk/LDe5t3vwdq JtMv3PPN/eGsiJTCU38Tyev1b/7sgOB7+1aDxQZDC3xUagWYNuZm6u+8BtrM/SOFUe1a sYiKlqnzOf/b674pO3t+7OMQDtaE/l4L5iCXQSGcTW0JsOSV8oDMgrmDINu4D8R40h5i xLweptspP5KfSnYjbZlOphHDcezjQj4FqeVRGMVaMwuZe0dIpGU+gfiUzikLJnWthvzX amhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lnY9HJZr; 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 x13si12394377pgo.149.2019.06.12.01.12.12; Wed, 12 Jun 2019 01:12:13 -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=lnY9HJZr; 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 S1730397AbfFLIMM (ORCPT + 30 others); Wed, 12 Jun 2019 04:12:12 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:45340 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726716AbfFLIMK (ORCPT ); Wed, 12 Jun 2019 04:12:10 -0400 Received: by mail-lj1-f194.google.com with SMTP id m23so14233425lje.12 for ; Wed, 12 Jun 2019 01:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tqLAHFWcFPPRWg/WUmIKVQXRfjbKzLHes3un8tM9Gvg=; b=lnY9HJZrjTwciRfoCs5TPzHQUN3/dv0/a1bpYBrC0AyoXShuh7z3OrZBVo0zgF3gy1 Iji6Ax443BfTKtEJmUGKeZTnEaIwNzKAqrsREHkfj4RUlcQKzUtCc18aQTEFNPG6kjqd VGb6lGJxhcG9L3DmAY5wxIer41gE6toj5ejL9A0MqcsvXqM0QnMHNT6LMFuPOw0OiBta AkfxwD8kc2eCYayFZNbVhI167Zw+EfBadx6FoS/HzpA7u89R/8jrKu4h1tiDAMutM3nU u2hiUIMeGix/jOS0J33NjTKsofD3y+NoLWoTRTZWO/riuUtRLRT4m7WNBmKHavfRMD3Q FZmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tqLAHFWcFPPRWg/WUmIKVQXRfjbKzLHes3un8tM9Gvg=; b=c+wiCx+HMVY05Z1qE0hmV6lSSMmvrtus27k5QWHxga7NCE4Sugx72bYjCk1COYYe49 Z6S4ERnm/5R1HFGsGD5AyoamHCqgtob2Bl7Xtl6PJte3Vq+MmkwZvhweVqMBpgz870Sn 0Zrvm9mX8mxXtqS6LgRiPopkLxxdvRVtkiAeeNYvd4WCckJ0Sjy6QDeXtXoDsaFyk75/ E1ccJaewkcdM3il+LRAgqIJCqtFP/xtt261CiUze9AMxejJzEB3ytIf3tQ+9jWbh+MjK LGIjBzX/IYV46owFd3cxZcX3j5xOdeqa0FfdMqPBmPiBfZ4dMbM7RIsbhFWL65qbkcXU SvBw== X-Gm-Message-State: APjAAAXzYxF0velNs07vdSzyl5ARbQ1hy5KeRDkqVNEll/W0wmd4qRmI oGanPSnUFLq6vK71o+uvb4coCyP9EX//mw== X-Received: by 2002:a2e:1201:: with SMTP id t1mr17393546lje.153.1560327128514; Wed, 12 Jun 2019 01:12:08 -0700 (PDT) Received: from localhost (c-1c3670d5.07-21-73746f28.bbcust.telenor.se. [213.112.54.28]) by smtp.gmail.com with ESMTPSA id t21sm3027366ljg.60.2019.06.12.01.12.07 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 12 Jun 2019 01:12:07 -0700 (PDT) From: Anders Roxell To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH v2] drivers: mfd: 88pm800: fix warning same module names Date: Wed, 12 Jun 2019 10:12:03 +0200 Message-Id: <20190612081203.1477-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Anders Roxell --- drivers/mfd/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -- 2.20.1 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