summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-03-04 00:18:11 -0800
committerDavid S. Miller <davem@davemloft.net>2009-03-04 00:18:11 -0800
commitc21986a76220919bb06e4c04a89a8a62aeac107e (patch)
treef85016d151bb95fdd6b37ff23a2ab4e4c71eab44 /drivers
parent1b0e235cc9bfae4bc0f5cd0cba929206fb0f6a64 (diff)
downloadop-kernel-dev-c21986a76220919bb06e4c04a89a8a62aeac107e.zip
op-kernel-dev-c21986a76220919bb06e4c04a89a8a62aeac107e.tar.gz
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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/sbus/char/jsflash.c b/drivers/sbus/char/jsflash.c
index a9a9893..e6d1fc8 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>
OpenPOWER on IntegriCloud