]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
thermal: solve compilation errors in rcar_thermal
authorDevendra Naga <develkernel412222@gmail.com>
Wed, 31 Oct 2012 08:46:10 +0000 (17:46 +0900)
committerZhang Rui <rui.zhang@intel.com>
Sat, 3 Nov 2012 01:52:48 +0000 (09:52 +0800)
commit608f62b996c6e140ff7515abe75305aed4726b33
treeeb8cf8809756c9d764e53325cf81a7a79d70eda6
parentae41fce3cce96b21ae821095654f9d796eae2452
thermal: solve compilation errors in rcar_thermal

following were the errors reported

drivers/thermal/rcar_thermal.c: In function ‘rcar_thermal_probe’:
drivers/thermal/rcar_thermal.c:214:10: warning: passing argument 3 of ‘thermal_zone_device_register’ makes integer from pointer without a cast [enabled by default]
include/linux/thermal.h:166:29: note: expected ‘int’ but argument is of type ‘struct rcar_thermal_priv *’
drivers/thermal/rcar_thermal.c:214:10: error: too few arguments to function ‘thermal_zone_device_register’
include/linux/thermal.h:166:29: note: declared here
make[1]: *** [drivers/thermal/rcar_thermal.o] Error 1
make: *** [drivers/thermal/rcar_thermal.o] Error 2

with gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/rcar_thermal.c