提交 a96bedf1 编写于 作者: J Julia Lawall 提交者: Zhang Rui

thermal: constify pch_dev_ops structure

The pch_dev_ops structure is never modified.  It is only stored in a field
that is already declared as const.

Done with the help of Coccinelle.
Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: NZhang Rui <rui.zhang@intel.com>
上级 74bf8efb
......@@ -136,7 +136,7 @@ struct pch_dev_ops {
/* dev ops for Wildcat Point */
static struct pch_dev_ops pch_dev_ops_wpt = {
static const struct pch_dev_ops pch_dev_ops_wpt = {
.hw_init = pch_wpt_init,
.get_temp = pch_wpt_get_temp,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册