9
0
Fork 0

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:
Beniamino Galvani 2014-05-13 23:33:31 +02:00 committed by Sascha Hauer
parent ffce345bf6
commit e70492fac2
1 changed files with 1 additions and 1 deletions

View File

@ -84,4 +84,4 @@ static int hostname_init(void)
return 0;
}
core_initcall(hostname_init);
postcore_initcall(hostname_init);