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