mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 10:40:53 +07:00
[ARM] constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
72e7ae8141
commit
2ffd6e182c
@ -1001,7 +1001,7 @@ static void c_stop(struct seq_file *m, void *v)
|
||||
{
|
||||
}
|
||||
|
||||
struct seq_operations cpuinfo_op = {
|
||||
const struct seq_operations cpuinfo_op = {
|
||||
.start = c_start,
|
||||
.next = c_next,
|
||||
.stop = c_stop,
|
||||
|
@ -290,7 +290,7 @@ static int davinci_ck_show(struct seq_file *m, void *v)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations davinci_ck_op = {
|
||||
static const struct seq_operations davinci_ck_op = {
|
||||
.start = davinci_ck_start,
|
||||
.next = davinci_ck_next,
|
||||
.stop = davinci_ck_stop,
|
||||
@ -302,7 +302,7 @@ static int davinci_ck_open(struct inode *inode, struct file *file)
|
||||
return seq_open(file, &davinci_ck_op);
|
||||
}
|
||||
|
||||
static struct file_operations proc_davinci_ck_operations = {
|
||||
static const struct file_operations proc_davinci_ck_operations = {
|
||||
.open = davinci_ck_open,
|
||||
.read = seq_read,
|
||||
.llseek = seq_lseek,
|
||||
|
Loading…
Reference in New Issue
Block a user