diff options
Diffstat (limited to 'nuttx/arch/sh')
-rw-r--r-- | nuttx/arch/sh/src/common/up_initialize.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/arch/sh/src/common/up_initialize.c b/nuttx/arch/sh/src/common/up_initialize.c index 727dc1352..6f75106b2 100644 --- a/nuttx/arch/sh/src/common/up_initialize.c +++ b/nuttx/arch/sh/src/common/up_initialize.c @@ -133,9 +133,17 @@ void up_initialize(void) /* Register devices */ #if CONFIG_NFILE_DESCRIPTORS > 0 + +#if defined(CONFIG_DEV_NULL) devnull_register(); /* Standard /dev/null */ #endif +#if defined(CONFIG_DEV_ZERO) + devzero_register(); /* Standard /dev/zero */ +#endif + +#endif /* CONFIG_NFILE_DESCRIPTORS */ + /* Initialize the serial device driver */ #ifdef USE_SERIALDRIVER |