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

Commit 872e2be7 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by David S. Miller
Browse files

[SPARC]: Constify function pointer tables.

parent 2ad913ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -379,7 +379,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
@@ -421,7 +421,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
@@ -54,7 +54,7 @@ extern void mykfree(void *);

static unsigned int (*sock_poll)(struct file *, poll_table *);

static struct file_operations socksys_file_ops = {
static const struct file_operations socksys_file_ops = {
	/* Currently empty */
};

+1 −1
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ static void property_stop(struct seq_file *f, void *v)
	/* Nothing to do */
}

static struct seq_operations property_op = {
static const struct seq_operations property_op = {
	.start		= property_start,
	.next		= property_next,
	.stop		= property_stop,