X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Fefirtc.c;fp=drivers%2Fchar%2Fefirtc.c;h=004141d535a27852eda7d3a9ea287893ea3db2e7;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=0090e7a4fcd34bd67cd04c73869072fce59bf7e7;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/drivers/char/efirtc.c b/drivers/char/efirtc.c index 0090e7a4f..004141d53 100644 --- a/drivers/char/efirtc.c +++ b/drivers/char/efirtc.c @@ -285,7 +285,7 @@ efi_rtc_close(struct inode *inode, struct file *file) * The various file operations we support. */ -static struct file_operations efi_rtc_fops = { +static const struct file_operations efi_rtc_fops = { .owner = THIS_MODULE, .ioctl = efi_rtc_ioctl, .open = efi_rtc_open,