9
0
Fork 0

state: make state_release() non static

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2015-05-04 00:58:52 +02:00 committed by Uwe Kleine-König
parent 618d712f91
commit 02c6da8d85
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -10,6 +10,7 @@ int state_backend_raw_file(struct state *state, const char *path,
off_t offset, size_t size);
struct state *state_new_from_node(const char *name, struct device_node *node);
void state_release(struct state *state);
struct state *state_by_name(const char *name);
struct state *state_by_node(const struct device_node *node);