Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;