drivers/power/pm_register.c: Fix an error found in build testing.

This commit is contained in:
Gregory Nutt 2018-08-27 16:13:07 -06:00
parent 499b89feed
commit 00c6793e61

View file

@ -77,7 +77,7 @@ int pm_register(FAR struct pm_callback_s *callbacks)
/* Add the new entry to the end of the list of registered callbacks */
if (OSINIT_OSREADY())
if (OSINIT_OS_READY())
{
ret = pm_lock();
if (ret == OK)