projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b0e235
)
jsflash: stop defining MAJOR_NR
author
Christoph Hellwig
<hch@lst.de>
Wed, 4 Mar 2009 08:18:11 +0000
(
00:18
-0800)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/sbus/char/jsflash.c
b/drivers/sbus/char/jsflash.c
index a9a9893a5f95b4867328b9396e2e097071e428ba..e6d1fc8c54f151514aa6057df9e183526b53938c 100644
(file)
--- 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>
This page took
0.024911 seconds
and
5
git commands to generate.