git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
char
/
lcd.c
diff --git
a/drivers/char/lcd.c
b/drivers/char/lcd.c
index
da601fd
..
29963d8
100644
(file)
--- a/
drivers/char/lcd.c
+++ b/
drivers/char/lcd.c
@@
-14,6
+14,7
@@
#define RTC_IO_EXTENT 0x10 /*Only really two ports, but... */
#define RTC_IO_EXTENT 0x10 /*Only really two ports, but... */
+#include <linux/config.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/miscdevice.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/miscdevice.h>
@@
-598,7
+599,7
@@
static ssize_t lcd_read(struct file *file, char *buf,
* The various file operations we support.
*/
* 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,
.read = lcd_read,
.ioctl = lcd_ioctl,
.open = lcd_open,