X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fchar%2Flcd.c;h=da601fd6c07ae24424350dc77541fb695c9ad15c;hb=a4b47ab9464a8200528fad3101668abdd7379cf9;hp=29963d8be6674abdcd92fe7c9485f978c4c58c76;hpb=be15cd72d256e5eb3261a781b8507fac83ab33f6;p=linux-2.6 diff --git a/drivers/char/lcd.c b/drivers/char/lcd.c index 29963d8be6..da601fd6c0 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,