summaryrefslogtreecommitdiffstats
path: root/kernel/printk/console_cmdline.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-07-31 22:53:44 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-31 23:41:03 +0200
commitd197c43d04decb6b1298fa3ef26ea04a9ca7c977 (patch)
treea5c773cedfb728bd8bf75c76f4e0edbc931eb2b7 /kernel/printk/console_cmdline.h
parentprintk: move to separate directory for easier modification (diff)
downloadlinux-d197c43d04decb6b1298fa3ef26ea04a9ca7c977.tar.xz
linux-d197c43d04decb6b1298fa3ef26ea04a9ca7c977.zip
printk: add console_cmdline.h
Add an include file for the console_cmdline struct so that the braille console driver can be separated. Signed-off-by: Joe Perches <joe@perches.com> Cc: Samuel Thibault <samuel.thibault@ens-lyon.org> Cc: Ming Lei <ming.lei@canonical.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/printk/console_cmdline.h')
-rw-r--r--kernel/printk/console_cmdline.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/kernel/printk/console_cmdline.h b/kernel/printk/console_cmdline.h
new file mode 100644
index 000000000000..cbd69d842341
--- /dev/null
+++ b/kernel/printk/console_cmdline.h
@@ -0,0 +1,14 @@
+#ifndef _CONSOLE_CMDLINE_H
+#define _CONSOLE_CMDLINE_H
+
+struct console_cmdline
+{
+ char name[8]; /* Name of the driver */
+ int index; /* Minor dev. to use */
+ char *options; /* Options for the driver */
+#ifdef CONFIG_A11Y_BRAILLE_CONSOLE
+ char *brl_options; /* Options for braille driver */
+#endif
+};
+
+#endif