state: Add state to state_variable
A state variable should know which state it belongs to. Add field
for it to struct state_variable.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8722a34 commit 839d2a25c7d4e895f3726524e906605e69faddf1
@Sascha Hauer Sascha Hauer authored on 14 Sep 2016
Showing 2 changed files
View
src/barebox-state/state.h
View
src/barebox-state/state_variables.c