From patchwork Thu Jun 6 09:47:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 165966 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp8550128ili; Thu, 6 Jun 2019 02:47:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqz81FwVdm8mzsp0cNervhFC4t10zjbVu5BkeG7PLxZzXu1GMGapQXxHjHaEZbw3nl7l0L+M X-Received: by 2002:a65:5003:: with SMTP id f3mr2528713pgo.336.1559814464673; Thu, 06 Jun 2019 02:47:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559814464; cv=none; d=google.com; s=arc-20160816; b=JxjxKKBmH78g2uANlzKbYwJu2YHI8m0G10A+BpPHxmP/EX2lXjDE6380gpPXyzdtO9 3Undv1FsK+EcqAhkCr959g1YBQUK5paw2Oj0nZzC6LJHOpJZgHR0fNvSNvjOTHUPdIvh GtdEp/P5QvtxMfUphBT7ahJdnOxa5WDKozTGqx9cXC64cCDpZEgDmDprkJEUvjSy/uyB 3mhnva20+5jE07AeIU6+oeE2NmvJ6/cWJgw7r2eKVsAoidC1m4bscQvwwGfi+gZNjJDD yEO1hXaAaYYlORkdBxTDcRrrrSwuGAj0W0yXRzQfZwCNrSUlo3ZuMWQrdZPDGJ1WElji abQg== 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=I0bHurH1Vm/d4xUPfO0GUgGYrbWsnqj3dZ7whTAWRvkaOTRcm9txh9oX4WKW2ueOpl jMeaU25EX5LrIHAX8cDJEh8ksTjupiBP4wwW0cmEM66os0Nsq3ZbrzxZ+sR7nQq2MASJ ZelZJMUWwCv62tJz0U5xvgY5PgP2q3Qtboj1Q05JArRz6KTnOSGDLEKBZ/w5Lk4+3MWL STlWRzmq+8B+fCRkG4KVMm+9FIkITfALhUShcVeyn86b8HXUBvTBl2+YqpL+qCvkk5bh CRA4YIs+b2vcQ8DbOq0zoNBFdSFfXo93uOru9Wk8+dgzsZH2pc5emdjQ/EZfdilPp30U dPiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vHUW3+ZZ; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 67si1449638plf.382.2019.06.06.02.47.44; Thu, 06 Jun 2019 02:47:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-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=vHUW3+ZZ; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-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 S1728217AbfFFJrn (ORCPT + 9 others); Thu, 6 Jun 2019 05:47:43 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:43137 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728191AbfFFJri (ORCPT ); Thu, 6 Jun 2019 05:47:38 -0400 Received: by mail-lf1-f67.google.com with SMTP id j29so1051308lfk.10 for ; Thu, 06 Jun 2019 02:47:36 -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=vHUW3+ZZeGk/a3xl67ZoRzH2OeuOzTB13K64lPfM8o6ubuED7MfpLkMU42xD3KDTGG htbekOtb95OTRxYqsJ57kJ+7eBDSb9YsOUmpEOfAcgfbUH9drA+CYkDRQb87juXm2gDt PRFJrv4x5Ttdpe+wr/kbs1XGegjxwq3YM3U0+pItUlRiB/RsC1+ymGjhCv80Qtj5/TQ8 AqvCFqeTSw5zMAvuBjLvyf9ZiJ4xirXkcbH6DZ2pUywixzEe4js0aoa9r9FrXYnmpn5M vZnPIw5AOdPXDPoJIijX0vfgQCekmdrDEIiznGfYyqbX9Z1nQdeDTa0Oszi4RPnzcCdd nFmw== 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=Ak7tUgnD1Ov4BbO/LsSQLta+xJhM5RSW+rhQ3d9TCeDeu1uRMELCc0c7e7xLefhbhe P5GBTNIRsdnChxdjWYVWnGpbZIZxbMkR4USmSnCuGyLwBzyPPdETXq7lHyXHfJSAk2lu LOtq54lmmmOWvt3yBUWsRoIXDS8I4wOyTfFF+eJDDRXvSvprx3zPU6JH/3SAwqA1+uKQ o8ZY4LulvRF1u6nVNrG2dOX42yoBw+p/ULHzpkgr8eJQ0bRoYV12iU7z3Hm6okRLW2HO DMSbRomR48MZkrrsxpiqCOfrJHHpi0GYPwGLygsJD50XPZbBAVwCoBY6uYJGcviNl1JO PsVw== X-Gm-Message-State: APjAAAVRFFw2rUS4vAjbM+dWYNDTtrJdFvSCo8fbZ2MbKgzFxbFdz9IS 5d/GIB8BQzXKAuo9dHnRAvmgqVzA52P8jpZO X-Received: by 2002:a19:e05c:: with SMTP id g28mr8736392lfj.167.1559814455812; Thu, 06 Jun 2019 02:47:35 -0700 (PDT) Received: from localhost (c-1c3670d5.07-21-73746f28.bbcust.telenor.se. [213.112.54.28]) by smtp.gmail.com with ESMTPSA id u13sm220277lfl.61.2019.06.06.02.47.35 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 06 Jun 2019 02:47:35 -0700 (PDT) From: Anders Roxell To: lee.jones@linaro.org Cc: andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, marex@denx.de, stefan@agner.ch, airlied@linux.ie, daniel@ffwll.ch, shawnguo@kernel.org, s.hauer@pengutronix.de, b.zolnierkie@samsung.com, a.hajda@samsung.com, mchehab@kernel.org, p.zabel@pengutronix.de, hkallweit1@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, linux-media@vger.kernel.org, Anders Roxell Subject: [PATCH 7/8] drivers: mfd: 88pm800: fix warning same module names Date: Thu, 6 Jun 2019 11:47:31 +0200 Message-Id: <20190606094731.23918-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@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