/* * thermal_hwmon.h - Generic Thermal Management hwmon support. * * Code based on Intel thermal_core.c. Copyrights of the original code: * Copyright (C) 2008 Intel Corp * Copyright (C) 2008 Zhang Rui <rui.zhang@intel.com> * Copyright (C) 2008 Sujith Thomas <sujith.thomas@intel.com> * * Copyright (C) 2013 Texas Instruments * Copyright (C) 2013 Eduardo Valentin <eduardo.valentin@ti.com> * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #ifndef __THERMAL_HWMON_H__ #define __THERMAL_HWMON_H__ #include <linux/thermal.h> #ifdef CONFIG_THERMAL_HWMON int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz); void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz); #else static int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) { return 0; } static void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz) { } #endif #endif /* __THERMAL_HWMON_H__ */ linux/net-next.git/refs/?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/sound/soc/samsung/smdk_spdif.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/soc/samsung/smdk_spdif.c?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/samsung/smdk_spdif.c?id=aaaec6fc755447a1d056765b11b24d8ff2b81366'>commit</a><a class='active' href='/cgit.cgi/linux/net-next.git/diff/sound/soc/samsung/smdk_spdif.c?id=aaaec6fc755447a1d056765b11b24d8ff2b81366&id2=08d85f3ea99f1eeafc4e8507936190e86a16ee8c'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/soc/samsung/smdk_spdif.c'> <input type='hidden' name='id' value='aaaec6fc755447a1d056765b11b24d8ff2b81366'/><input type='hidden' name='id2' value='08d85f3ea99f1eeafc4e8507936190e86a16ee8c'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/diff/?id=aaaec6fc755447a1d056765b11b24d8ff2b81366&id2=08d85f3ea99f1eeafc4e8507936190e86a16ee8c'>root</a>/<a href='/cgit.cgi/linux/net-next.git/diff/sound?id=aaaec6fc755447a1d056765b11b24d8ff2b81366&id2=08d85f3ea99f1eeafc4e8507936190e86a16ee8c'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/diff/sound/soc?id=aaaec6fc755447a1d056765b11b24d8ff2b81366&id2=08d85f3ea99f1eeafc4e8507936190e86a16ee8c'>soc</a>/<a href='/cgit.cgi/linux/net-next.git/diff/sound/soc/samsung?id=aaaec6fc755447a1d056765b11b24d8ff2b81366&id2=08d85f3ea99f1eeafc4e8507936190e86a16ee8c'>samsung</a>/<a href='/cgit.cgi/linux/net-next.git/diff/sound/soc/samsung/smdk_spdif.c?id=aaaec6fc755447a1d056765b11b24d8ff2b81366&id2=08d85f3ea99f1eeafc4e8507936190e86a16ee8c'>smdk_spdif.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='aaaec6fc755447a1d056765b11b24d8ff2b81366'/><input type='hidden' name='id2' value='08d85f3ea99f1eeafc4e8507936190e86a16ee8c'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=aaaec6fc755447a1d056765b11b24d8ff2b81366&id2=08d85f3ea99f1eeafc4e8507936190e86a16ee8c'>Diffstat</a> (limited to 'sound/soc/samsung/smdk_spdif.c')</div><table summary='diffstat' class='diffstat'>