linux-next: build warnings after merge of the regulator tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux