From patchwork Mon Dec 16 17:49:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 181770 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp4652435ile; Mon, 16 Dec 2019 10:06:36 -0800 (PST) X-Google-Smtp-Source: APXvYqwXnC/nNDcFDmD8oGe9ZYRKTqXXBb8g4OuyQkTRHjFjDKW+qYP+NokzmduZZhq44HFCUycq X-Received: by 2002:aca:f305:: with SMTP id r5mr207072oih.174.1576519596736; Mon, 16 Dec 2019 10:06:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576519596; cv=none; d=google.com; s=arc-20160816; b=ZmDD40VJme0sxiMDHM5RBnplSR/lGrn44rwSaXKacwKw8Ku6usyfSODryY7G//B3cG p7ZCP/NHFafFG7MQPUULgmBCJ42iIHDC3G8raIVcjeaiftlazVf+X4DKnVfLt6OV0Zn5 SxO5nFz1TyibCw2v/v2sfGoWEhwjlq3oo4DpVaQaOCrYxgifncBhlMXws2ocPJ0wp8Cc J9Fk/KjyKAexbdA85RLukBabc1wibBgSrfddXxz0lzzoLu64/0I79Jf/iqIjoLDYSDSi 3fzfJcoszsfOaHmut2iTc7gkjOKuhDlaU+MiAX/GNF11ukJu1UFLm/bfX59yecpQOH2A Mm7A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=OVPYfrJlqq1AeZBm8JggL/Laqj99KcH5f4KzSGXojOs=; b=HQppDgUxQWfG7DP7mOfcEOhIhV2Rn0EtJn5F1m10ZW9kUmAwwsivJCUemYGKcaoqaz 3vr6nuf3vnxHfwxL5shbN1CdZGe9SgojXNC+HfsiBokSbgRXSGKfjjDOvzWa2vdJEvif bcoR7nhubiTnGsVzJLrNiFcKRVkZJJ7aAFWY24b9DHtLYlnaRNO/3958MPzOtDsYqXhO ramhblSFqpfIyj2ALuniC3FIN2GC0QSZfNW3x7ViQfC34OsvJddnGhZ2sbPBbFVcCKgd 6Di1io2gDz951VtJDJ9tzX9hGtcoQG6wIv3if1Kef5Gkn93VpwroNYeBRilRfKxxidSj If6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=buoNUAzO; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m204si10422237oib.235.2019.12.16.10.06.36; Mon, 16 Dec 2019 10:06:36 -0800 (PST) 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=@kernel.org header.s=default header.b=buoNUAzO; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729994AbfLPSGf (ORCPT + 27 others); Mon, 16 Dec 2019 13:06:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:46792 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729818AbfLPSGc (ORCPT ); Mon, 16 Dec 2019 13:06:32 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 59C7E206E0; Mon, 16 Dec 2019 18:06:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576519591; bh=pLnYl+1UmRwuAdwhBN5NkuD9Nu/Q41VUUiohA3ym19g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=buoNUAzOCQ5Feggr/Prarb9YBKzAfGg5xiLbDqerhYcLP81pjTwxZvleWQ/kW7vpp cez0T9Mqps5Gv7vQfl66ziVGX+DK395Borr89cAx4UxJDpEm9Ih2zL0RHCQvjZXrIL dsyWvYf3abvVPhbDT7RDFtZFfuZ7SrfqhMWW7IEA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Anders Roxell , Mark Brown , Sasha Levin Subject: [PATCH 4.19 128/140] regulator: 88pm800: fix warning same module names Date: Mon, 16 Dec 2019 18:49:56 +0100 Message-Id: <20191216174828.185156004@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191216174747.111154704@linuxfoundation.org> References: <20191216174747.111154704@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anders Roxell [ Upstream commit 6f10419187d0d5fe395e2a2f2a64370961bf02a3 ] 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 that the file is named 88pm800-regulator. Signed-off-by: Anders Roxell Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/regulator/{88pm800.c => 88pm800-regulator.c} | 0 drivers/regulator/Makefile | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename drivers/regulator/{88pm800.c => 88pm800-regulator.c} (100%) -- 2.20.1 diff --git a/drivers/regulator/88pm800.c b/drivers/regulator/88pm800-regulator.c similarity index 100% rename from drivers/regulator/88pm800.c rename to drivers/regulator/88pm800-regulator.c diff --git a/drivers/regulator/Makefile b/drivers/regulator/Makefile index 801d9a34a2037..bba9c4851faf3 100644 --- a/drivers/regulator/Makefile +++ b/drivers/regulator/Makefile @@ -11,7 +11,7 @@ obj-$(CONFIG_REGULATOR_VIRTUAL_CONSUMER) += virtual.o obj-$(CONFIG_REGULATOR_USERSPACE_CONSUMER) += userspace-consumer.o obj-$(CONFIG_REGULATOR_88PG86X) += 88pg86x.o -obj-$(CONFIG_REGULATOR_88PM800) += 88pm800.o +obj-$(CONFIG_REGULATOR_88PM800) += 88pm800-regulator.o obj-$(CONFIG_REGULATOR_88PM8607) += 88pm8607.o obj-$(CONFIG_REGULATOR_CPCAP) += cpcap-regulator.o obj-$(CONFIG_REGULATOR_AAT2870) += aat2870-regulator.o