X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fds1286.c;h=6d58b037080234431b49f6cacde669998ab749a7;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=38401dad8a8439b70b0a54cf424183562db58c10;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/drivers/char/ds1286.c b/drivers/char/ds1286.c index 38401dad8..6d58b0370 100644 --- a/drivers/char/ds1286.c +++ b/drivers/char/ds1286.c @@ -281,7 +281,7 @@ static unsigned int ds1286_poll(struct file *file, poll_table *wait) * The various file operations we support. */ -static struct file_operations ds1286_fops = { +static const struct file_operations ds1286_fops = { .llseek = no_llseek, .read = ds1286_read, .poll = ds1286_poll,