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
/
dtlk.c
diff --git
a/drivers/char/dtlk.c
b/drivers/char/dtlk.c
index da2c89f1b8bc9e15399e37a56a091ad9ea0870ff..5e82c3bad2e31214fcc76053caf1c4995e08950a 100644
(file)
--- a/
drivers/char/dtlk.c
+++ b/
drivers/char/dtlk.c
@@
-94,7
+94,7
@@
static int dtlk_release(struct inode *, struct file *);
static int dtlk_ioctl(struct inode *inode, struct file *file,
unsigned int cmd, unsigned long arg);
-static struct file_operations dtlk_fops =
+static
const
struct file_operations dtlk_fops =
{
.owner = THIS_MODULE,
.read = dtlk_read,