mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -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:
parent
110775bd5d
commit
bee2d6a82c
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue