Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1286687

Re: [PATCH] regulator: add regulator_sync_voltage inline dummy

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH] regulator: add regulator_sync_voltage inline dummy
Date Tue, 08 Dec 2015 18:00:02 +0100
Message-ID <qDtMm-4Ra-5@gated-at.bofh.it> (permalink)
References <qDsGC-4bA-15@gated-at.bofh.it> <qDtt0-4J4-17@gated-at.bofh.it>
X-Original-To Mark Brown <broonie@kernel.org>
User-Agent KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; )
MIME-Version 1.0
Content-Transfer-Encoding 7Bit
Content-Type text/plain; charset="us-ascii"
X-Provags-ID V03:K0:WR4Fnrw8p0dclewq/wFy0uIqj83N4ZDARiUDv3STz/U7qYF37pI HgFUu/XQKd5GMb7bv3UsLp38aNI4HBOrZnIvQIoIpe4NECJcT+YlY9rTcHC/46YuAJsoxrf wcVXsWvQlkh3Ym7vyp2HIQynp/lF5CRDCVUqFS4fGY76bJMsH8U+y1iq4KgHJxy3g921DbC w8j1V8HSwHYNwoUR7ssyA==
X-Ui-Out-Filterresults notjunk:1;V01:K0:uMl1gE7Wbzo=:B3Fu5jote5RS4OBrJCI2IG ALb1abrbtbsBccMIlPvrVETNdOx67CuP6YaqWn6DogcbBskR5RVDYoZnlVX/43qF3JPj+BlLI U+9QI1t8bXN7CGkoott6TYBX6k0fZM3vArudQonGLJMoTz29x8gKOUJvPf83VvMh/2C2Okofk xL90iF/6F1iP7KeHM0xmPnzNng7cVaJRwGKe8hNPUkJdWE29oXoBZrwb/gh7M+vDsvVzGXQr0 H8gXbTiLlxAVydTLpq5NDwL1cBSDX1Bg2BNbPJIruLC/0L7tXOSkwwLWUtt4X4eGclnyzGjUz MtBwMeppMzL7peNUhegIzc2QC7UYG7ZCvxNuO8qr+KOSEGEpfngI2XQh6V7v8vcF6hzfCUEvm 2yid82Yi634FYHfYalRmSJDzsEY+YqvDHIkgE8qWsxPb/IXlGaJnQA7teBMNRlFZw8M2MMdPP m587PLQ4+bLPZ1nBspcQCw1dlwRMdxzRzaBtyZoOQ8d143Adnxw7qCggy8DhQDXPjPI4i0uWx JRg8d9bmpih5DX93DghjN2R/ZvQAnIwbzIaV9FT6482S4HoNaaxRkVtTtZKsDdQnZByYiOqDV 9/jwv/0LjUQSn85PRqopIJGLpHWspoUpcbIMowcZrFjF718IvB4SwJkdWiYTey72gUosSmXNA fu0EdOwdNOuO+LiGRAXbAgg3AuSm0C5PRFikbbvV3hi/5Q5xPArmYDrBLRcX+3ENgKWCcDpxG o1YbdeIwgXEl9BxP
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 39
Organization linux.* mail to news gateway
X-Original-Cc Liam Girdwood <lgirdwood@gmail.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tuomas Tynkkynen <ttynkkynen@nvidia.com>, Thierry Reding <treding@nvidia.com>
X-Original-Date Tue, 08 Dec 2015 17:49:20 +0100
X-Original-Message-ID <18141514.YrJxqxh5jL@wuerfel>
X-Original-References <1983152.2iYiBkp4xd@wuerfel> <20151208163739.GS5727@sirena.org.uk>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1286687

Show key headers only | View raw


On Tuesday 08 December 2015 16:37:39 Mark Brown wrote:
> On Tue, Dec 08, 2015 at 04:43:35PM +0100, Arnd Bergmann wrote:
> 
> > This modifies the API header so we provide a static inline function
> > with the same prototype as the normal function of this name. This matches
> > what we do for all other regulator API functions and avoids the build
> > error.
> 
> We don't do this for *all* regulator API functions - there's some where
> using them strongly suggests that there is actually a dependency on the
> regulator API.  This does seem like it might be falling into the
> specialist category...
> 

Ok, got it.

I guess we'll want something like the patch below in the cpufreq git, right?

	Arnd

diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index 235a1ba73d92..b1f8a73e5a94 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -226,7 +226,7 @@ config ARM_TEGRA20_CPUFREQ
 
 config ARM_TEGRA124_CPUFREQ
 	tristate "Tegra124 CPUFreq support"
-	depends on ARCH_TEGRA && CPUFREQ_DT
+	depends on ARCH_TEGRA && CPUFREQ_DT && REGULATOR
 	default y
 	help
 	  This adds the CPUFreq driver support for Tegra124 SOCs.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] regulator: add regulator_sync_voltage inline dummy Arnd Bergmann <arnd@arndb.de> - 2015-12-08 16:50 +0100
  Re: [PATCH] regulator: add regulator_sync_voltage inline dummy Mark Brown <broonie@kernel.org> - 2015-12-08 17:40 +0100
    Re: [PATCH] regulator: add regulator_sync_voltage inline dummy Mark Brown <broonie@kernel.org> - 2015-12-08 18:00 +0100
    Re: [PATCH] regulator: add regulator_sync_voltage inline dummy Arnd Bergmann <arnd@arndb.de> - 2015-12-08 18:00 +0100

csiph-web