Commit 2a30a3be authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] Move ipmi to new struct stuff

parent 23dda2d9
...@@ -105,7 +105,7 @@ static int ipmi_fasync(int fd, struct file *file, int on) ...@@ -105,7 +105,7 @@ static int ipmi_fasync(int fd, struct file *file, int on)
static struct ipmi_user_hndl ipmi_hndlrs = 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) static int ipmi_open(struct inode *inode, struct file *file)
...@@ -424,12 +424,12 @@ static int ipmi_ioctl(struct inode *inode, ...@@ -424,12 +424,12 @@ static int ipmi_ioctl(struct inode *inode,
static struct file_operations ipmi_fops = { static struct file_operations ipmi_fops = {
owner: THIS_MODULE, .owner = THIS_MODULE,
ioctl: ipmi_ioctl, .ioctl = ipmi_ioctl,
open: ipmi_open, .open = ipmi_open,
release: ipmi_release, .release = ipmi_release,
fasync: ipmi_fasync, .fasync = ipmi_fasync,
poll: ipmi_poll .poll = ipmi_poll,
}; };
#define DEVICE_NAME "ipmidev" #define DEVICE_NAME "ipmidev"
...@@ -468,8 +468,8 @@ static void ipmi_smi_gone(int if_num) ...@@ -468,8 +468,8 @@ static void ipmi_smi_gone(int if_num)
static struct ipmi_smi_watcher smi_watcher = static struct ipmi_smi_watcher smi_watcher =
{ {
new_smi : ipmi_new_smi, .new_smi = ipmi_new_smi,
smi_gone : ipmi_smi_gone .smi_gone = ipmi_smi_gone,
}; };
static __init int init_ipmi_devintf(void) static __init int init_ipmi_devintf(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment