Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03a44825 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Linus Torvalds
Browse files

procfs: constify function pointer tables

parent ec26e117
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1471,7 +1471,7 @@ c_stop(struct seq_file *f, void *v)
{
}

struct seq_operations cpuinfo_op = {
const struct seq_operations cpuinfo_op = {
	.start	= c_start,
	.next	= c_next,
	.stop	= c_stop,
+1 −1
Original line number Diff line number Diff line
@@ -700,7 +700,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,
+1 −1
Original line number Diff line number Diff line
@@ -180,7 +180,7 @@ static void c_stop(struct seq_file *m, void *v)

extern int show_cpuinfo(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,
+1 −1
Original line number Diff line number Diff line
@@ -1113,7 +1113,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,
+1 −1
Original line number Diff line number Diff line
@@ -236,7 +236,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,
Loading