[MIPS]: constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Родитель
d4e9cffa16
Коммит
12323cacca
|
@ -48,7 +48,7 @@ static DECLARE_WAIT_QUEUE_HEAD(wq);
|
|||
|
||||
|
||||
|
||||
static struct file_operations fops =
|
||||
static const struct file_operations fops =
|
||||
{
|
||||
.owner = THIS_MODULE,
|
||||
.open = iodev_open,
|
||||
|
|
|
@ -90,7 +90,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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче