devices: replace priority enum to integer 06/262306/1
authorYoungjae Cho <y0.cho@samsung.com>
Fri, 6 Aug 2021 07:22:22 +0000 (16:22 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Fri, 6 Aug 2021 07:28:41 +0000 (16:28 +0900)
commit36791070bed891406419c9167fc393e0d7897968
treec6f8c08c0abaf9814637f95b5227a9f190f3a019
parent07692eb39561fe267a4a73ca423c651395650748
devices: replace priority enum to integer

Previously, there were only two priorities of enum device_priority,
so it wasn't possible to fine-tune the initialization order.
Replace this enum to integer and sorts devices with this integer.
Higher integer will be initialized first.

Change-Id: I90183d86159cca6ad00afa3a92dbadd3bab6751a
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/core/devices.c
src/core/devices.h