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

Commit 773c7bd6 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Paul Mundt
Browse files

sh: constify function pointer tables

parent 1b1e037a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -121,7 +121,7 @@ static int gio_ioctl(struct inode *inode, struct file *filp,
	return 0;
}

static struct file_operations gio_fops = {
static const struct file_operations gio_fops = {
	.owner = THIS_MODULE,
	.open = gio_open,	/* open */
	.release = gio_close,	/* release */
+1 −1
Original line number Diff line number Diff line
@@ -427,7 +427,7 @@ static void *c_next(struct seq_file *m, void *v, loff_t *pos)
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,