summaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_int.h
diff options
context:
space:
mode:
authorEmese Revfy <re.emese@gmail.com>2009-12-14 00:59:30 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2009-12-21 12:45:15 +0100
commit7d4e9d0962cd0f6a30b01e256756dd10606dab30 (patch)
treee684151b986aab62c45edf171fe138740ac9a7f0 /drivers/block/drbd/drbd_int.h
parent66ae291978177d5c012015f12b8fbc76dc7d0965 (diff)
downloadlwn-7d4e9d0962cd0f6a30b01e256756dd10606dab30.tar.gz
lwn-7d4e9d0962cd0f6a30b01e256756dd10606dab30.zip
drbd: Constify struct file_operations
Signed-off-by: Emese Revfy <re.emese@gmail.com> Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_int.h')
-rw-r--r--drivers/block/drbd/drbd_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index 2312d782fe99..c97558763430 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/drivers/block/drbd/drbd_int.h
@@ -1490,7 +1490,7 @@ void drbd_bump_write_ordering(struct drbd_conf *mdev, enum write_ordering_e wo);
/* drbd_proc.c */
extern struct proc_dir_entry *drbd_proc;
-extern struct file_operations drbd_proc_fops;
+extern const struct file_operations drbd_proc_fops;
extern const char *drbd_conn_str(enum drbd_conns s);
extern const char *drbd_role_str(enum drbd_role s);