jsflash: stop defining MAJOR_NR
authorChristoph Hellwig <hch@lst.de>
Wed, 4 Mar 2009 08:18:11 +0000 (00:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2009 08:18:11 +0000 (00:18 -0800)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/sbus/char/jsflash.c

index a9a9893a5f95b4867328b9396e2e097071e428ba..e6d1fc8c54f151514aa6057df9e183526b53938c 100644 (file)
@@ -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>