thermal: hwmon: EXPORT_SYMBOL_GPL for thermal hwmon sysfs
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 4 Jul 2016 07:19:32 +0000 (07:19 +0000)
committerZhang Rui <rui.zhang@intel.com>
Mon, 8 Aug 2016 02:57:39 +0000 (10:57 +0800)
commitf4c592439b144ef1de66eac764140643a54099eb
treea8c3413a08d45a96b8c060ca6670396a56378717
parentd0b7306d203c82e7c04d6eb066ca4898f016ebdd
thermal: hwmon: EXPORT_SYMBOL_GPL for thermal hwmon sysfs

thermal_add_hwmon_sysfs()/thermal_remove_hwmon_sysfs() need
EXPORT_SYMBOL_GPL(). Otherwise we will have ERROR

>> ERROR: "thermal_remove_hwmon_sysfs" [drivers/thermal/rcar_thermal.ko] undefined!
>> ERROR: "thermal_add_hwmon_sysfs" [drivers/thermal/rcar_thermal.ko] undefined!

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