X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fdma.c;h=937b13ca33baaac6a3ab01437b4016f9995a11f9;hb=0806ca2ab3ef7d7a1bd41a980f661a13ba11acb5;hp=2020644c938a48d0f34670765e788b32fed8900d;hpb=6ebfc0e20b409f13e62bbb84ce70102b49945cfd;p=linux-2.6 diff --git a/kernel/dma.c b/kernel/dma.c index 2020644c93..937b13ca33 100644 --- a/kernel/dma.c +++ b/kernel/dma.c @@ -140,7 +140,7 @@ static int proc_dma_open(struct inode *inode, struct file *file) return single_open(file, proc_dma_show, NULL); } -static struct file_operations proc_dma_operations = { +static const struct file_operations proc_dma_operations = { .open = proc_dma_open, .read = seq_read, .llseek = seq_lseek,