summaryrefslogtreecommitdiff
path: root/common/device_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/device_state.c')
-rw-r--r--common/device_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/device_state.c b/common/device_state.c
index c19f5abb7f..16d0fb4f86 100644
--- a/common/device_state.c
+++ b/common/device_state.c
@@ -66,7 +66,7 @@ static void check_device_state(void)
}
DECLARE_HOOK(HOOK_SECOND, check_device_state, HOOK_PRIO_DEFAULT);
-static int command_devices(int argc, char **argv)
+static int command_devices(int argc, const char **argv)
{
const struct device_config *dc = device_states;
int i;