summaryrefslogtreecommitdiffstats
path: root/include/linux/swapfile.h
diff options
context:
space:
mode:
authorDmitry Torokhov2017-02-03 02:41:26 +0100
committerRafael J. Wysocki2017-02-07 13:21:15 +0100
commit9426998ce6f8616c48c2834cafbe5616da3f5abd (patch)
tree03990e849cc0985423227886b1b65772a6eb8526 /include/linux/swapfile.h
parentdevice property: allow to constify properties (diff)
downloadkernel-qcow2-linux-9426998ce6f8616c48c2834cafbe5616da3f5abd.tar.gz
kernel-qcow2-linux-9426998ce6f8616c48c2834cafbe5616da3f5abd.tar.xz
kernel-qcow2-linux-9426998ce6f8616c48c2834cafbe5616da3f5abd.zip
device property: constify property arrays values
Data that is fed into property arrays should not be modified, so let's mark relevant pointers as const. This will allow us making source arrays as const/__initconst. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/swapfile.h')
0 files changed, 0 insertions, 0 deletions