thermal: provide an UAPI header file
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 20 Nov 2014 02:11:00 +0000 (18:11 -0800)
committerZhang Rui <rui.zhang@intel.com>
Tue, 9 Dec 2014 06:10:41 +0000 (14:10 +0800)
commitaf6c9f1657ca6d2ef2b2c0e31ad17c6fbf773baf
treea2a148611792c71bcee577c505b20851f07fcefd
parent9d367e5e7b05c71a8c1ac4e9b6e00ba45a79f2fc
thermal: provide an UAPI header file

include/linux/thermal.h contains definitions for the Thermal generic
netlink family, but none of the valuable information relevant to
user-space such as the Genl family name, multicast group, version or
command set and data types is exported to user-space.

Export all the relevant generic netlink information to user-space to
make this genl family usable by user-space, and while at it, export
THERMAL_NAME_LENGTH since it limits name length for thermal_hwmon
devices.

Kbuild and MAINTAINERS are also updated accordingly to reflect this new
file: include/uapi/linux/thermal.h.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
MAINTAINERS
include/linux/thermal.h
include/uapi/linux/Kbuild
include/uapi/linux/thermal.h [new file with mode: 0644]