diff options
author | Gilad Ben-Yossef | 2017-11-13 15:45:39 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-11-27 09:20:39 +0100 |
commit | 7d2e4fc239fd1f86b97fb7a1e4e8ac7cd29fc311 (patch) | |
tree | 4c46c61c2cc6fff9d589dfe0a8aadd2233e7cb63 /drivers/staging | |
parent | staging: ccree: document spinlock usage (diff) | |
download | kernel-qcow2-linux-7d2e4fc239fd1f86b97fb7a1e4e8ac7cd29fc311.tar.gz kernel-qcow2-linux-7d2e4fc239fd1f86b97fb7a1e4e8ac7cd29fc311.tar.xz kernel-qcow2-linux-7d2e4fc239fd1f86b97fb7a1e4e8ac7cd29fc311.zip |
staging: ccree: constify help string
Make help string static const
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/ccree/ssi_sysfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ccree/ssi_sysfs.c b/drivers/staging/ccree/ssi_sysfs.c index 5d39f15cdb59..8d503826e422 100644 --- a/drivers/staging/ccree/ssi_sysfs.c +++ b/drivers/staging/ccree/ssi_sysfs.c @@ -47,7 +47,7 @@ static ssize_t ssi_sys_regdump_show(struct kobject *kobj, static ssize_t ssi_sys_help_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { - char *help_str[] = { + static const char * const help_str[] = { "cat reg_dump ", "Print several of CC register values", }; int i = 0, offset = 0; |