From patchwork Wed Jun 12 08:11:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 166524 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3378183ilk; Wed, 12 Jun 2019 01:12:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQDH6sEKI8OeaEu4IbbdyURHu8Z5A71rhH5xogF25Y5nFMw3YKUkZMr0kMpB2dcbarX1GZ X-Received: by 2002:a17:90a:aa85:: with SMTP id l5mr30156414pjq.69.1560327129581; Wed, 12 Jun 2019 01:12:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560327129; cv=none; d=google.com; s=arc-20160816; b=NJqgS7L5/lqb1CKpSwBpqR3eLogeb2qZGlzsgyvkjyrs9MABBOVLxhV6IdAxDBATOK 4+frH1tfPzIuBWVMew2Y1AMHK58WzjLEGCWaP2dvg5rCZ6uUEIphuap0DqSImAQLD5eI SWrkXAj4Q23dterk/n7MnarRaTr8csmTBNSutC+9zn0zdfXMAyRwuhRlZFn/Y4IxEcGV /J+g/cXI+hzfYx9EvDK2HF6hxuMVDCAKQmZz7uh/cOoMqyWiAb+S4TG4OZdQLmAnUh/1 1y6UwwrCI+xDcIg/sScgqG8EgQtSqoJ9wyfAc66gnnV6nC1jQSxEJLqUwy9fwJg/PkNd Wl1g== 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=wlVjUjqpWzID0KuxViSALS3lzmjYAzsT4I+mvQyLT2o=; b=dQ25VA8cQKhwdCoV3QXUQ4lkivkCNWV8d96nA1jQ+ReoKwVuxeXZ9TM/yxsUo6ZMPT WMA4MPy9F8JktpQ7Zren53YLVjJEXVku3G1Fzba9OyMDg5/HKunAXqbx0Ua2StJv9GpF f4vAzOickROanOEcfB589QGfnMH2Q8FE25bxNr3L3p7FlxO5y/Re+erLi79asn/0GORD ouyNOc6wGxf7yBtnJnn4dT3y+5Z0StIjs66g74/gzvsxT6vK5yLcViz8QEthnQkOW4hb WbO+47okie00WyV2brvc/+ULApPJhCyJSC//lPs4Z9s1jy9fQpJTzgRGLlfgOSr3ak/j YPHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lDbIlVA9; 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 z5si6966047pgj.213.2019.06.12.01.12.09; Wed, 12 Jun 2019 01:12:09 -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=lDbIlVA9; 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 S1730334AbfFLIMI (ORCPT + 30 others); Wed, 12 Jun 2019 04:12:08 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:46327 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726716AbfFLIME (ORCPT ); Wed, 12 Jun 2019 04:12:04 -0400 Received: by mail-lj1-f194.google.com with SMTP id v24so9915169ljg.13 for ; Wed, 12 Jun 2019 01:12:03 -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=wlVjUjqpWzID0KuxViSALS3lzmjYAzsT4I+mvQyLT2o=; b=lDbIlVA9aF0aoJGtLsKYOOo+mpBh3j55rX512XVSvbx7lF96pkcklSUc2hMcFH6aWJ pTaumzaRme3TiK6VZ4uBob/qhZtxgZWehfgknEsQv09sVZX60/7DnIld6JMEsvzcw0Qd putu1z4HMUHMPtjl4EyS/Ry5ufLyXAprYpNNmhGAbhLw2FjNz0qHjy8qufWGxWmUulIR zSRysAOX1rUj5CPxbEJp68Aewsyzhe2mCnk86KMYhjgRPN50+k+s1Lo8m2+6/dcvdpDi nh6Flbrwc2wC81rff1C+DAZuWHylVdUFRSMUDs1q0ZuesD9k9sj+jpA5yoS5tEKB4vss Ep1A== 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=wlVjUjqpWzID0KuxViSALS3lzmjYAzsT4I+mvQyLT2o=; b=EqHNOHjQOsIJX5DgQ4vveudIOlkFrsXnSZABu6AhH2J6Jg7GK2Ld1aHUskwKvDN0Zl GH1d3c+MZ13noO7kmCG3/EzTg2F4H2s7pfKJA8kSzJIHkBcW0c2snRBpbei2rluGOPsC 28OPSHiYUnLpu5oZE3YGPlelGLMHLx1Hkt8nVTpFVgt6IB1Rb3AfhrS8VIxXo8mU0iHJ K0LBhFCOOUAx80ekfG70Z+3oGR5q6F46JRSupwGtgVLphbpwt0uT5P1d/wGDxtniKklY DQ5Sdf1P1BYGphOBGk+ogaK4XW4bfyv2eBaodVF6cwpHPpDAB3MTezvV+nsSDzuXuKv3 Pb1A== X-Gm-Message-State: APjAAAXa/O07AXo6qT5UqVijkadQKStORAawE0VW5UmDqActxHSVxzzd oacemYajfn5S7JS7+XESX3NVDA== X-Received: by 2002:a2e:a311:: with SMTP id l17mr22655761lje.214.1560327122815; Wed, 12 Jun 2019 01:12:02 -0700 (PDT) Received: from localhost (c-1c3670d5.07-21-73746f28.bbcust.telenor.se. [213.112.54.28]) by smtp.gmail.com with ESMTPSA id a21sm228813ljd.70.2019.06.12.01.12.01 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 12 Jun 2019 01:12:02 -0700 (PDT) From: Anders Roxell To: lgirdwood@gmail.com, broonie@kernel.org Cc: linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH v2] drivers: regulator: 88pm800: fix warning same module names Date: Wed, 12 Jun 2019 10:11:58 +0200 Message-Id: <20190612081158.1424-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 that the file is named 88pm800-regulator. Signed-off-by: Anders Roxell --- 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 76e78fa449a2..c15b0b613766 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