thermal: Fix incompatible-pointer-types 21/222021/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 9 Jan 2020 05:21:30 +0000 (14:21 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 9 Jan 2020 05:44:03 +0000 (14:44 +0900)
commit635089add7f3bef18469fbc9980d66d89929306a
treec9a32eff3a9388adf5c9eeafec5c9899dfd5157b
parent29d369ba6c033dc4f6425a53db9db738026610f7
thermal: Fix incompatible-pointer-types

After the commit 6e9640753a86 ("thermal: Support dbus activation
for thermal f/w"), function pointer for register_notifier() and
unregister_notifier() type is incompatible. Fix the warning by
casting inside the function.

Change-Id: Iebc590cc1d3d9a7adaca1a896f6313a225ddb6ca
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
src/pass/pass-thermal.c