aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-tipwmss.h
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2015-03-25 22:16:24 +0100
committerZhang Rui <rui.zhang@intel.com>2015-05-09 13:36:55 +0800
commit4d2b6e4a9ebc2907e4a64fa240d8b67c7051e997 (patch)
tree257e0494b2244fcf25a30ee807a497c95a55d937 /drivers/pwm/pwm-tipwmss.h
parentce1d94919de3ffc1769b327792ea0189db6e7551 (diff)
downloadlinux-4d2b6e4a9ebc2907e4a64fa240d8b67c7051e997.tar.gz
thermal/intel_powerclamp: add __init / __exit annotations
Mark the module init / exit functions with __init / __exit accodingly. This allows making the intel_powerclamp_ids[] array __initconst, too, as it only gets referenced from powerclamp_probe(). This is safe as file2alias doesn't care about the section, but the symbol name for the MODULE_DEVICE_TABLE alias. Cc: Arjan van de Ven <arjan@linux.intel.com> Cc: Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: Mathias Krause <minipli@googlemail.com> Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/pwm/pwm-tipwmss.h')
0 files changed, 0 insertions, 0 deletions