summaryrefslogtreecommitdiff
path: root/drivers/input/evdev.c
diff options
context:
space:
mode:
authorVojtech Pavlik <vojtech@twilight.ucw.cz>2002-07-25 05:47:14 +0200
committerVojtech Pavlik <vojtech@twilight.ucw.cz>2002-07-25 05:47:14 +0200
commit0c9c808e6f18cec60b02b4202e33a1223f5906ec (patch)
treec8ec9dc717ce07ad8a331f32d1a430999e792883 /drivers/input/evdev.c
parenta2ea21bb4b327510007eeeacabb3292aa0ff841d (diff)
Apply Rusty's C99 initializer patch to input drivers.
Fix cli() breakage in input (gameport) drivers.
Diffstat (limited to 'drivers/input/evdev.c')
-rw-r--r--drivers/input/evdev.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
index af7abcf21c53..cafa8e6a0fc0 100644
--- a/drivers/input/evdev.c
+++ b/drivers/input/evdev.c
@@ -399,15 +399,15 @@ static int evdev_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
}
static struct file_operations evdev_fops = {
- owner: THIS_MODULE,
- read: evdev_read,
- write: evdev_write,
- poll: evdev_poll,
- open: evdev_open,
- release: evdev_release,
- ioctl: evdev_ioctl,
- fasync: evdev_fasync,
- flush: evdev_flush
+ .owner = THIS_MODULE,
+ .read = evdev_read,
+ .write = evdev_write,
+ .poll = evdev_poll,
+ .open = evdev_open,
+ .release = evdev_release,
+ .ioctl = evdev_ioctl,
+ .fasync = evdev_fasync,
+ .flush = evdev_flush
};
static struct input_handle *evdev_connect(struct input_handler *handler, struct input_dev *dev, struct input_device_id *id)
@@ -468,13 +468,13 @@ static struct input_device_id evdev_ids[] = {
MODULE_DEVICE_TABLE(input, evdev_ids);
static struct input_handler evdev_handler = {
- event: evdev_event,
- connect: evdev_connect,
- disconnect: evdev_disconnect,
- fops: &evdev_fops,
- minor: EVDEV_MINOR_BASE,
- name: "evdev",
- id_table: evdev_ids,
+ .event = evdev_event,
+ .connect = evdev_connect,
+ .disconnect = evdev_disconnect,
+ .fops = &evdev_fops,
+ .minor = EVDEV_MINOR_BASE,
+ .name = "evdev",
+ .id_table = evdev_ids,
};
static int __init evdev_init(void)