projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] make more file_operation structs static
[linux-2.6-block.git]
/
drivers
/
char
/
ipmi
/
ipmi_devintf.c
diff --git
a/drivers/char/ipmi/ipmi_devintf.c
b/drivers/char/ipmi/ipmi_devintf.c
index 2fc894fef1cb1ae0750f52458ed2ba6212d80a81..68d7c61a864e7ecc4f696e3b36f4ceb92201472f 100644
(file)
--- a/
drivers/char/ipmi/ipmi_devintf.c
+++ b/
drivers/char/ipmi/ipmi_devintf.c
@@
-765,7
+765,7
@@
static long compat_ipmi_ioctl(struct file *filep, unsigned int cmd,
}
#endif
-static struct file_operations ipmi_fops = {
+static
const
struct file_operations ipmi_fops = {
.owner = THIS_MODULE,
.ioctl = ipmi_ioctl,
#ifdef CONFIG_COMPAT