PATCH: Move ipmi to new struct stuff

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Mar 21 2003 - 14:21:48 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/char/ipmi/ipmi_devintf.c linux-2.5.65-ac2/drivers/char/ipmi/ipmi_devintf.c
--- linux-2.5.65/drivers/char/ipmi/ipmi_devintf.c 2003-02-10 18:38:51.000000000 +0000
+++ linux-2.5.65-ac2/drivers/char/ipmi/ipmi_devintf.c 2003-03-06 23:14:51.000000000 +0000
@@ -105,7 +105,7 @@
 
 static struct ipmi_user_hndl ipmi_hndlrs =
 {
- ipmi_recv_hndl : file_receive_handler
+ .ipmi_recv_hndl = file_receive_handler,
 };
 
 static int ipmi_open(struct inode *inode, struct file *file)
@@ -424,12 +424,12 @@
 
 
 static struct file_operations ipmi_fops = {
- owner: THIS_MODULE,
- ioctl: ipmi_ioctl,
- open: ipmi_open,
- release: ipmi_release,
- fasync: ipmi_fasync,
- poll: ipmi_poll
+ .owner = THIS_MODULE,
+ .ioctl = ipmi_ioctl,
+ .open = ipmi_open,
+ .release = ipmi_release,
+ .fasync = ipmi_fasync,
+ .poll = ipmi_poll,
 };
 
 #define DEVICE_NAME "ipmidev"
@@ -468,8 +468,8 @@
 
 static struct ipmi_smi_watcher smi_watcher =
 {
- new_smi : ipmi_new_smi,
- smi_gone : ipmi_smi_gone
+ .new_smi = ipmi_new_smi,
+ .smi_gone = ipmi_smi_gone,
 };
 
 static __init int init_ipmi_devintf(void)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:36 EST