diff options
| author | 2017-08-08 14:53:59 +0530 | |
|---|---|---|
| committer | 2017-08-16 15:10:42 -0700 | |
| commit | 22d82cb952f3c949078c6df4b0a5ea719b18cadc (patch) | |
| tree | 25af16fb654eb2e6a35ad348c4e2e9021236be14 /scripts/patch-kernel | |
| parent | staging: ccree: Use sizeof(variable) in memory allocs (diff) | |
staging: ccree: constify dev_pm_ops structures.
dev_pm_ops are not supposed to change at runtime. All functions
working with dev_pm_ops provided by <linux/device.h> work with const
dev_pm_ops. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
