blkdev wrapper: Fix constness warning
[lttng-modules.git] / include / wrapper / genhd.h
index 2992cb43807310a372085fdb89ceee61f500b686..e32c7b68d54f85d60d58744f6ca2e76a88151ddb 100644 (file)
@@ -52,7 +52,7 @@ struct class *wrapper_get_block_class(void)
  *   extern struct class block_class;
  */
 static inline
-struct class *__canary__get_block_class(void)
+const struct class *__canary__get_block_class(void)
 {
        return &block_class;
 }
This page took 0.023498 seconds and 4 git commands to generate.