summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2019-01-07 15:43:33 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-01-08 16:18:13 +0100
commitb3501cf81ba3ca6dafba7853a32a7b4d7f658de2 (patch)
treea0eb4b3abc1c4b82edba93fd2b7b4faea4eefe1d /common
parenta8c86dd239154ed4c5b3a7e67fdd6822a96d75f4 (diff)
downloadbarebox-b3501cf81ba3ca6dafba7853a32a7b4d7f658de2.tar.gz
common: state: fix another alignment
Fixes: 7126dffd0be ("common: state: Add variable_type to state_variable") Fixes: 6096a0cfa4a ("common: state: fix alignment") Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/state/state_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/state/state_variables.c b/common/state/state_variables.c
index 50cffba..6a00c82 100644
--- a/common/state/state_variables.c
+++ b/common/state/state_variables.c
@@ -102,7 +102,7 @@ static int state_uint8_set(struct param_d *p, void *priv)
static struct state_variable *state_uint8_create(struct state *state,
const char *name,
struct device_node *node,
- const struct variable_type *vtype)
+ const struct variable_type *vtype)
{
struct state_uint32 *su32;
struct param_d *param;