summaryrefslogtreecommitdiff
path: root/include/stdio_dev.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-10-17 20:13:02 -0600
committerTom Rini <trini@konsulko.com>2016-10-23 18:34:17 -0400
commit869588decdf41b693c8977067f90f742b771d0ad (patch)
tree2f845d9c8c5359adc0e1ed7459dba018d1fa16f7 /include/stdio_dev.h
parent4ef6ecec9cdf1ce4c7b4f2a6b0f903583bfa24a2 (diff)
Convert CONFIG_SYS_STDIO_DEREGISTER to Kconfig
This converts the following to Kconfig: CONFIG_SYS_STDIO_DEREGISTER This option should never be enabled in SPL, so use CONFIG_IS_ENABLED(SYS_STDIO_DEREGISTER) when checking the option. Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Re-sync] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/stdio_dev.h')
-rw-r--r--include/stdio_dev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdio_dev.h b/include/stdio_dev.h
index 13f76be7c2..e4fc8b138b 100644
--- a/include/stdio_dev.h
+++ b/include/stdio_dev.h
@@ -100,7 +100,7 @@ int stdio_add_devices(void);
int stdio_init(void);
void stdio_print_current_devices(void);
-#ifdef CONFIG_SYS_STDIO_DEREGISTER
+#if CONFIG_IS_ENABLED(SYS_STDIO_DEREGISTER)
int stdio_deregister(const char *devname, int force);
int stdio_deregister_dev(struct stdio_dev *dev, int force);
#endif