Message ID | 20090228212235.GA24377@lst.de |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
From: Christoph Hellwig <hch@lst.de> Date: Sat, 28 Feb 2009 22:22:35 +0100 > 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@lst.de> Applied, thanks Christoph. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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>
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@lst.de> -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html