Commit 2e41eb96 authored by Benoit Hiller's avatar Benoit Hiller Committed by Greg Kroah-Hartman

staging: dgnc: make find_board_by_major static

Fixes the following sparse warning:
drivers/staging/dgnc/dgnc_tty.c:933:19: warning: symbol 'find_board_by_major' was not declared. Should it be static?
Signed-off-by: default avatarBenoit Hiller <benoit.hiller@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6d2117f1
......@@ -930,7 +930,7 @@ void dgnc_wakeup_writes(struct channel_t *ch)
spin_unlock_irqrestore(&ch->ch_lock, flags);
}
struct dgnc_board *find_board_by_major(unsigned int major)
static struct dgnc_board *find_board_by_major(unsigned int major)
{
int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment