X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fchar%2Flcd.c;fp=drivers%2Fchar%2Flcd.c;h=da601fd6c07ae24424350dc77541fb695c9ad15c;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=29963d8be6674abdcd92fe7c9485f978c4c58c76;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/drivers/char/lcd.c b/drivers/char/lcd.c index 29963d8be..da601fd6c 100644 --- a/drivers/char/lcd.c +++ b/drivers/char/lcd.c @@ -14,7 +14,6 @@ #define RTC_IO_EXTENT 0x10 /*Only really two ports, but... */ -#include #include #include #include @@ -599,7 +598,7 @@ static ssize_t lcd_read(struct file *file, char *buf, * The various file operations we support. */ -static struct file_operations lcd_fops = { +static const struct file_operations lcd_fops = { .read = lcd_read, .ioctl = lcd_ioctl, .open = lcd_open,