Skip to content

Commit

Permalink
jsflash: stop defining MAJOR_NR
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and David S. Miller committed Mar 4, 2009
1 parent 1b0e235 commit c21986a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/sbus/char/jsflash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit c21986a

Please sign in to comment.