]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/um/drivers/mmapper_kern.c
[PATCH] ext4 balloc: fix off-by-one against grp_goal
[linux-2.6-omap-h63xx.git] / arch / um / drivers / mmapper_kern.c
index 9a3b5daf6250784c1359f8997e115eac3ab8f29b..df3516e47d4d534bae0f10022717cff6bc541297 100644 (file)
@@ -95,7 +95,8 @@ static const struct file_operations mmapper_fops = {
        .release        = mmapper_release,
 };
 
-static const struct miscdevice mmapper_dev = {
+/* No locking needed - only used (and modified) by below initcall and exitcall. */
+static struct miscdevice mmapper_dev = {
        .minor          = MISC_DYNAMIC_MINOR,
        .name           = "mmapper",
        .fops           = &mmapper_fops