summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-05-13 12:12:28 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-05-15 07:01:49 +0200
commit0f56f0c5a12a0d9564c17ee901056dd4f69650cd (patch)
treef233a8d2c25abc0b012f0f084041fea721d0cf46 /common
parent142afe0e302ea34c841f73d9460e3af3c6299273 (diff)
downloadbarebox-0f56f0c5a12a0d9564c17ee901056dd4f69650cd.tar.gz
barebox-0f56f0c5a12a0d9564c17ee901056dd4f69650cd.tar.xz
state: make state_release() non static
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/state.c b/common/state.c
index 5642f0d418..66620a8920 100644
--- a/common/state.c
+++ b/common/state.c
@@ -426,7 +426,7 @@ static struct state *state_new(const char *name)
return state;
}
-static void state_release(struct state *state)
+void state_release(struct state *state)
{
list_del(&state->list);
unregister_device(&state->dev);