diff options
author | Christoph Hellwig <hch@lst.de> | 2009-03-04 09:18:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-04 09:18:11 +0100 |
commit | c21986a76220919bb06e4c04a89a8a62aeac107e (patch) | |
tree | f85016d151bb95fdd6b37ff23a2ab4e4c71eab44 /drivers | |
parent | sparc64: Fix crashes in jbusmc_print_dimm() (diff) | |
download | linux-c21986a76220919bb06e4c04a89a8a62aeac107e.tar.xz linux-c21986a76220919bb06e4c04a89a8a62aeac107e.zip |
jsflash: stop defining MAJOR_NR
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/sbus/char/jsflash.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/sbus/char/jsflash.c b/drivers/sbus/char/jsflash.c index a9a9893a5f95..e6d1fc8c54f1 100644 --- a/drivers/sbus/char/jsflash.c +++ b/drivers/sbus/char/jsflash.c @@ -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> |