|
@@ -27,7 +27,6 @@
|
|
|
*/
|
|
|
|
|
|
#include <linux/module.h>
|
|
|
-#include <linux/version.h>
|
|
|
#include <linux/drbd.h>
|
|
|
#include <asm/uaccess.h>
|
|
|
#include <asm/types.h>
|
|
@@ -151,7 +150,7 @@ wait_queue_head_t drbd_pp_wait;
|
|
|
|
|
|
DEFINE_RATELIMIT_STATE(drbd_ratelimit_state, 5 * HZ, 5);
|
|
|
|
|
|
-static struct block_device_operations drbd_ops = {
|
|
|
+static const struct block_device_operations drbd_ops = {
|
|
|
.owner = THIS_MODULE,
|
|
|
.open = drbd_open,
|
|
|
.release = drbd_release,
|