diff options
Diffstat (limited to 'include/stdio_dev.h')
-rw-r--r-- | include/stdio_dev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdio_dev.h b/include/stdio_dev.h index 13f76be..e4fc8b1 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 |