mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-13 10:10:24 -04:00
staging: comedi: declare das6402_boards as static
das6402_boards array is used in das6402.c only, so declare it as static. Signed-off-by: Michele Curti <michele.curti@gmail.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Acked-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
110775bd5d
commit
bee2d6a82c
@@ -125,7 +125,7 @@ struct das6402_boardinfo {
|
||||
unsigned int maxdata;
|
||||
};
|
||||
|
||||
struct das6402_boardinfo das6402_boards[] = {
|
||||
static struct das6402_boardinfo das6402_boards[] = {
|
||||
{
|
||||
.name = "das6402-12",
|
||||
.maxdata = 0x0fff,
|
||||
|
||||
Reference in New Issue
Block a user