[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140728203233.26341abf@canb.auug.org.au>
Date: Mon, 28 Jul 2014 20:32:33 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Tuomas Tynkkynen <ttynkkynen@...dia.com>
Subject: linux-next: build warnings after merge of the regulator tree
Hi all,
After merging the regulator tree, today's linux-next build (i386
defconfig among others) produced these warnings:
In file included from include/linux/regulator/machine.h:18:0,
from drivers/acpi/bus.c:36:
include/linux/regulator/consumer.h:468:23: warning: 'regulator_get_regmap' defined but not used [-Wunused-function]
static struct regmap *regulator_get_regmap(struct regulator *regulator)
^
include/linux/regulator/consumer.h:473:12: warning: 'regulator_get_hardware_vsel_register' defined but not used [-Wunused-function]
static int regulator_get_hardware_vsel_register(struct regulator *regulator,
^
include/linux/regulator/consumer.h:480:12: warning: 'regulator_list_hardware_vsel' defined but not used [-Wunused-function]
static int regulator_list_hardware_vsel(struct regulator *regulator,
^
And more like that.
Introduced by commit 04eca28cde52 ("regulator: Add helpers for
low-level register access"). Missing "static inline"s ... I suspect
this is becoming more common due to the lack of "extern"s in our header
files now. :-(
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists