summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2019-01-04 16:16:44 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-01-07 08:41:37 +0100
commitd80179baf828c8086edf68fa83ff67ab93d9a638 (patch)
treef3d2fb8fb3927896f9123655b62be578bb2f494b /common
parent5feabc1e6737742f1cf6a1c41921f68b4dbb5c10 (diff)
downloadbarebox-d80179baf828c8086edf68fa83ff67ab93d9a638.tar.gz
barebox-d80179baf828c8086edf68fa83ff67ab93d9a638.tar.xz
common: state: fix alignment
Fixes: 7126dffd0be ("common: state: Add variable_type to state_variable") 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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/state/state_variables.c b/common/state/state_variables.c
index 269d175874..50cffba700 100644
--- a/common/state/state_variables.c
+++ b/common/state/state_variables.c
@@ -132,7 +132,7 @@ static struct state_variable *state_uint8_create(struct state *state,
static struct state_variable *state_uint32_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;
@@ -223,7 +223,7 @@ static int state_enum32_import(struct state_variable *sv,
static struct state_variable *state_enum32_create(struct state *state,
const char *name,
struct device_node *node,
- const struct variable_type *vtype)
+ const struct variable_type *vtype)
{
struct state_enum32 *enum32;
int ret, i, num_names;
@@ -307,7 +307,7 @@ static int state_mac_import(struct state_variable *sv, struct device_node *node)
static struct state_variable *state_mac_create(struct state *state,
const char *name,
struct device_node *node,
- const struct variable_type *vtype)
+ const struct variable_type *vtype)
{
struct state_mac *mac;
int ret;
@@ -409,7 +409,7 @@ static int state_string_get(struct param_d *p, void *priv)
static struct state_variable *state_string_create(struct state *state,
const char *name,
struct device_node *node,
- const struct variable_type *vtype)
+ const struct variable_type *vtype)
{
struct state_string *string;
uint32_t start_size[2];