aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorRene Herman <rene.herman@keyaccess.nl>2006-03-25 03:07:13 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-25 08:22:53 -0800
commite6a6784627483381d012b507bb0d49809658a1fa (patch)
treef963234f9c07940fd02f25ff53c228d9b0a0006d /include/linux
parent1efa64696bc55cc396eefa9838a90d106dfab6bf (diff)
downloadkernel_samsung_espresso10-e6a6784627483381d012b507bb0d49809658a1fa.zip
kernel_samsung_espresso10-e6a6784627483381d012b507bb0d49809658a1fa.tar.gz
kernel_samsung_espresso10-e6a6784627483381d012b507bb0d49809658a1fa.tar.bz2
[PATCH] parport: move PP_MAJOR from ppdev.h to major.h
Today I wondered about /dev/parport<n> after not seeing anything in drivers/parport register char-major-99. Having PP_MAJOR in include/linux/major.h would've allowed me to more quickly determine that it was the ppdev driver driving these. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/major.h1
-rw-r--r--include/linux/ppdev.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/major.h b/include/linux/major.h
index e36a467..0a74c52 100644
--- a/include/linux/major.h
+++ b/include/linux/major.h
@@ -113,6 +113,7 @@
#define UBD_MAJOR 98
+#define PP_MAJOR 99
#define JSFD_MAJOR 99
#define PHONE_MAJOR 100
diff --git a/include/linux/ppdev.h b/include/linux/ppdev.h
index 141c965..f376a75 100644
--- a/include/linux/ppdev.h
+++ b/include/linux/ppdev.h
@@ -14,8 +14,6 @@
* Added PPGETMODES/PPGETMODE/PPGETPHASE, Fred Barnes <frmb2@ukc.ac.uk>, 03/01/2001
*/
-#define PP_MAJOR 99
-
#define PP_IOCTL 'p'
/* Set mode for read/write (e.g. IEEE1284_MODE_EPP) */