stdio: Split out nulldev_register() and move it under #if
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 11 Feb 2021 15:09:35 +0000 (17:09 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 16 Feb 2021 16:16:07 +0000 (11:16 -0500)
commit99cb2b996bd649d98069a95941beaaade0a4447a
treed2cc47699ed37856fd4bd3e80fd8a3abfdc6ab52
parentc090e8f2367f1c532bf30935104eccdada9d013d
stdio: Split out nulldev_register() and move it under #if

It's possible that NULLDEV can be disabled while it makes leftovers,
move entire device under #if.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
common/stdio.c