[PATCH] console: make console_set_stdoutpath public

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


This can be an very useful helper for boards to setup the linux console
boot param.

Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx>
 common/console.c  | 2 +-
 include/console.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/console.c b/common/console.c
index 03b76b122b2b..81782de7caaa 100644
--- a/common/console.c
+++ b/common/console.c
@@ -235,7 +235,7 @@ static void console_add_earlycon_param(struct console_device *cdev, unsigned bau
-static void console_set_stdoutpath(struct console_device *cdev, unsigned baudrate)
+void console_set_stdoutpath(struct console_device *cdev, unsigned baudrate)
 	int id;
 	char *str;
diff --git a/include/console.h b/include/console.h
index 69c0ec144b31..62d13d7aa02c 100644
--- a/include/console.h
+++ b/include/console.h
@@ -102,6 +102,7 @@ int console_set_active(struct console_device *cdev, unsigned active);
 unsigned console_get_active(struct console_device *cdev);
 int console_set_baudrate(struct console_device *cdev, unsigned baudrate);
 unsigned console_get_baudrate(struct console_device *cdev);
+void console_set_stdoutpath(struct console_device *cdev, unsigned baudrate);
 struct console_device *of_console_by_stdout_path(void);

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux