Skip to content

Commit c21986a

Browse files
Christoph Hellwigdavem330
authored andcommitted
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>
1 parent 1b0e235 commit c21986a

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎drivers/sbus/char/jsflash.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@
3838
#include <linux/string.h>
3939
#include <linux/genhd.h>
4040
#include <linux/blkdev.h>
41-
42-
#define MAJOR_NR JSFD_MAJOR
43-
4441
#include <asm/uaccess.h>
4542
#include <asm/pgtable.h>
4643
#include <asm/io.h>

0 commit comments

Comments
 (0)