nvvar: Initialze from underlying device parameter
When a nvvar is added with a NULL parameter then it's initialized
with the value of the underlying global variable. Do this aswell
when the nvvar is a device parameter.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 834527a commit d49bdc8316bcb39630330307c601d7885e9f3560
@Sascha Hauer Sascha Hauer authored on 24 Nov 2017
Showing 1 changed file
View
common/globalvar.c