]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/char/mem.c
mem_class: fix bug
[mv-sheeva.git] / drivers / char / mem.c
index bed3503184e46a7dbf705c3a2088369d32d82043..0491cdf63f2a94a46f200fc3475e3d196bb86e2c 100644 (file)
@@ -878,8 +878,8 @@ static const struct memdev {
        [ 4] = { "port", &port_fops, NULL },
 #endif
        [ 5] = { "zero", &zero_fops, &zero_bdi },
-       [ 6] = { "full", &full_fops, NULL },
-       [ 7] = { "random", &random_fops, NULL },
+       [ 7] = { "full", &full_fops, NULL },
+       [ 8] = { "random", &random_fops, NULL },
        [ 9] = { "urandom", &urandom_fops, NULL },
        [11] = { "kmsg", &kmsg_fops, NULL },
 #ifdef CONFIG_CRASH_DUMP