提交 5d30566f 编写于 作者: T Thierry Reding 提交者: Greg Kroah-Hartman

staging/nvec: Remove double const qualifier

The SIMPLE_DEV_PM_OPS macro already uses the const qualifier, so there's
no need to repeat it.
Signed-off-by: NThierry Reding <treding@nvidia.com>
Acked-by: NMarc Dietrich <marvin24@gmx.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 7354a175
...@@ -960,7 +960,7 @@ static int nvec_resume(struct device *dev) ...@@ -960,7 +960,7 @@ static int nvec_resume(struct device *dev)
} }
#endif #endif
static const SIMPLE_DEV_PM_OPS(nvec_pm_ops, nvec_suspend, nvec_resume); static SIMPLE_DEV_PM_OPS(nvec_pm_ops, nvec_suspend, nvec_resume);
/* Match table for of_platform binding */ /* Match table for of_platform binding */
static const struct of_device_id nvidia_nvec_of_match[] = { static const struct of_device_id nvidia_nvec_of_match[] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册