ARM: radxa-rock: set hostname after devicetree initialization
hostname_init() must be called after the devicetree root node has been initialized, otherwise the check on board compatible always returns false. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
ffce345bf6
commit
e70492fac2
|
@ -84,4 +84,4 @@ static int hostname_init(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
core_initcall(hostname_init);
|
||||
postcore_initcall(hostname_init);
|
||||
|
|
Loading…
Reference in New Issue