Ever since early 2.5 kernels block drivers don't need to define MAJOR_NR anymore, so use the JSFD_MAJOR defined directly and kill it. Signed-off-by: Christoph Hellwig <hch@xxxxxx> Index: linux-2.6/drivers/sbus/char/jsflash.c =================================================================== --- linux-2.6.orig/drivers/sbus/char/jsflash.c 2009-02-27 17:41:59.547168644 +0100 +++ linux-2.6/drivers/sbus/char/jsflash.c 2009-02-27 17:42:05.545295810 +0100 @@ -38,9 +38,6 @@ #include <linux/string.h> #include <linux/genhd.h> #include <linux/blkdev.h> - -#define MAJOR_NR JSFD_MAJOR - #include <asm/uaccess.h> #include <asm/pgtable.h> #include <asm/io.h> -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html