kbuild: move tags from ARCH and include/ ahead of drivers
[sfrench/cifs-2.6.git] / block / genhd.c
index 36bd3e12a6d4c58bdda0dde62237a50d84b93d09..441432a142f231b871750caa5fed9a82c0cd750a 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/module.h>
 #include <linux/fs.h>
 #include <linux/genhd.h>
+#include <linux/kdev_t.h>
 #include <linux/kernel.h>
 #include <linux/blkdev.h>
 #include <linux/init.h>
@@ -61,14 +62,6 @@ int register_blkdev(unsigned int major, const char *name)
        /* temporary */
        if (major == 0) {
                for (index = ARRAY_SIZE(major_names)-1; index > 0; index--) {
-                       /*
-                        * Disallow the LANANA-assigned LOCAL/EXPERIMENTAL
-                        * majors
-                        */
-                       if ((60 <= index && index <= 63) ||
-                                       (120 <= index && index <= 127) ||
-                                       (240 <= index && index <= 254))
-                               continue;
                        if (major_names[index] == NULL)
                                break;
                }