drbd: add major number to major.h
authorPhilipp Reisner <philipp.reisner@linbit.com>
Tue, 16 Jun 2009 22:33:38 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 02:47:48 +0000 (19:47 -0700)
Since we have had a LANANA major number for years, and it is documented in
devices.txt, I think that this first patch can go upstream.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/major.h

index 058ec15dd060341391277f6f82f479b151a494eb..6a8ca98c9a962ee67fbcf3da94fe0222f6885c2c 100644 (file)
 #define UNIX98_PTY_MAJOR_COUNT 8
 #define UNIX98_PTY_SLAVE_MAJOR (UNIX98_PTY_MASTER_MAJOR+UNIX98_PTY_MAJOR_COUNT)
 
+#define DRBD_MAJOR             147
 #define RTF_MAJOR              150
 #define RAW_MAJOR              162