Set init_priority attribute for global/static variables

The initialization order of global/static variables and functions
with constructor attribute is unspecified.

Set init_priority attribute to specify the initialization order.

Resolves openbmc/openbmc#1581

Change-Id: Ia85804b3b9e537e0f32b712a3ce92e7d0be554b2
Signed-off-by: Lei YU <mine260309@gmail.com>
1 file changed