From 80f1aefacad4e898434962acb1f1af62eb815ef8 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 25 Oct 2009 20:55:04 +0100 Subject: Fix current_vcs driver load * console-client/current-vcs.c (vcs_repeat_init): Rename function into... (current_vcs_init): ... this. (vcs_repeat_start): Rename function into... (current_vcs_start): ... this. (vcs_repeat_fini): Rename function into... (current_vcs_fini): ... this. --- console-client/current-vcs.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/console-client/current-vcs.c b/console-client/current-vcs.c index a86c6708..1b63e0ba 100644 --- a/console-client/current-vcs.c +++ b/console-client/current-vcs.c @@ -167,7 +167,7 @@ static struct argp argp = {options, parse_opt, 0, doc}; /* Initialize the current VCS driver. */ static error_t -vcs_repeat_init (void **handle, int no_exit, int argc, char *argv[], int *next) +current_vcs_init (void **handle, int no_exit, int argc, char *argv[], int *next) { error_t err; int pos = 1; @@ -184,7 +184,7 @@ vcs_repeat_init (void **handle, int no_exit, int argc, char *argv[], int *next) } static error_t -vcs_repeat_start (void *handle) +current_vcs_start (void *handle) { error_t err; @@ -206,7 +206,7 @@ vcs_repeat_start (void *handle) } static error_t -vcs_repeat_fini (void *handle, int force) +current_vcs_fini (void *handle, int force) { console_unregister_consnode (vcs_node); console_destroy_consnode (vcs_node); @@ -214,10 +214,10 @@ vcs_repeat_fini (void *handle, int force) } -struct driver_ops driver_vcs_repeat_ops = +struct driver_ops driver_current_vcs_ops = { - vcs_repeat_init, - vcs_repeat_start, - vcs_repeat_fini + current_vcs_init, + current_vcs_start, + current_vcs_fini }; -- cgit v1.2.3