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

Commit 5c81cdbe authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Martin Schwidefsky
Browse files

[S390] constify function pointer tables.

parent 894cdde2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -146,7 +146,7 @@ static ssize_t prng_read(struct file *file, char __user *ubuf, size_t nbytes,
	return ret;
	return ret;
}
}


static struct file_operations prng_fops = {
static const struct file_operations prng_fops = {
	.owner		= THIS_MODULE,
	.owner		= THIS_MODULE,
	.open		= &prng_open,
	.open		= &prng_open,
	.release	= NULL,
	.release	= NULL,
+1 −1
Original line number Original line Diff line number Diff line
@@ -917,7 +917,7 @@ static void *c_next(struct seq_file *m, void *v, loff_t *pos)
static void c_stop(struct seq_file *m, void *v)
static void c_stop(struct seq_file *m, void *v)
{
{
}
}
struct seq_operations cpuinfo_op = {
const struct seq_operations cpuinfo_op = {
	.start	= c_start,
	.start	= c_start,
	.next	= c_next,
	.next	= c_next,
	.stop	= c_stop,
	.stop	= c_stop,
+1 −1
Original line number Original line Diff line number Diff line
@@ -142,7 +142,7 @@ static void dasd_devices_stop(struct seq_file *m, void *v)
{
{
}
}


static struct seq_operations dasd_devices_seq_ops = {
static const struct seq_operations dasd_devices_seq_ops = {
	.start		= dasd_devices_start,
	.start		= dasd_devices_start,
	.next		= dasd_devices_next,
	.next		= dasd_devices_next,
	.stop		= dasd_devices_stop,
	.stop		= dasd_devices_stop,
+1 −1
Original line number Original line Diff line number Diff line
@@ -97,7 +97,7 @@ static void tape_proc_stop(struct seq_file *m, void *v)
{
{
}
}


static struct seq_operations tape_proc_seq = {
static const struct seq_operations tape_proc_seq = {
	.start		= tape_proc_start,
	.start		= tape_proc_start,
	.next		= tape_proc_next,
	.next		= tape_proc_next,
	.stop		= tape_proc_stop,
	.stop		= tape_proc_stop,
+1 −1
Original line number Original line Diff line number Diff line
@@ -759,7 +759,7 @@ static loff_t ur_llseek(struct file *file, loff_t offset, int whence)
	return newpos;
	return newpos;
}
}


static struct file_operations ur_fops = {
static const struct file_operations ur_fops = {
	.owner	 = THIS_MODULE,
	.owner	 = THIS_MODULE,
	.open	 = ur_open,
	.open	 = ur_open,
	.release = ur_release,
	.release = ur_release,
Loading