X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fds1286.c;fp=drivers%2Fchar%2Fds1286.c;h=21c8229f544388cfb2d75f68218abaac215b4c17;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=d755cac14bc12b051efab89ae4a55381776d9701;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/drivers/char/ds1286.c b/drivers/char/ds1286.c index d755cac14..21c8229f5 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,