diff options
author | 2016-09-22 23:33:33 +0800 | |
---|---|---|
committer | 2016-09-23 14:11:46 +0200 | |
commit | 5c925fe2a496da4849f1f874b9fa54cad7f2386c (patch) | |
tree | 54ac922016a8a7261b6a925f1e358b46bbc4a3d5 /tools/perf/scripts/python | |
parent | staging: greybus: arche-platform: declare struct of_device_id as const (diff) | |
download | linux-dev-5c925fe2a496da4849f1f874b9fa54cad7f2386c.tar.xz linux-dev-5c925fe2a496da4849f1f874b9fa54cad7f2386c.zip |
staging: greybus: arche-apb-ctrl: declare struct of_device_id as const
Declare the 'arche_apb_ctrl_of_match' array as const. This array is only stored
in the .of_match_table field of a device_driver structure, which is declared as
const. This addresses the checkpatch warning:
WARNING: struct of_device_id should be normally const
Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions