linux-next: build warning after merge of the battery tree

From: Stephen Rothwell
Date: Tue Jun 19 2012 - 00:54:21 EST


Hi Anton,

After merging the battery tree, today's linux-next build (i386 defconfig)
produced this warning:

drivers/power/power_supply_core.c: In function 'psy_register_thermal':
drivers/power/power_supply_core.c:204:6: warning: passing argument 1 of 'thermal_zone_device_register' discards 'const' qualifier from pointer target type [enabled by default]
include/linux/thermal.h:149:29: note: expected 'char *' but argument is of type 'const char *'

Introduced by commit 3be330bf8860 ("power_supply: Register battery as a
thermal zone").

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature