treewide: mark stuff as __ro_after_init
[linux-2.6-microblaze.git] / fs / char_dev.c
index 950b691..3d52f3d 100644 (file)
@@ -25,7 +25,7 @@
 
 #include "internal.h"
 
-static struct kobj_map *cdev_map;
+static struct kobj_map *cdev_map __ro_after_init;
 
 static DEFINE_MUTEX(chrdevs_lock);