X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=drivers%2Fchar%2Flcd.c;h=da601fd6c07ae24424350dc77541fb695c9ad15c;hb=95a7b8b9a6453de2c52e469d1afdef80ca4607ae;hp=29963d8be6674abdcd92fe7c9485f978c4c58c76;hpb=c4ed38a0c6e2e5c4906296758f816ee71373792f;p=safe%2Fjmp%2Flinux-2.6 diff --git a/drivers/char/lcd.c b/drivers/char/lcd.c index 29963d8..da601fd 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,