]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: make class and file operations static
authorIan Abbott <abbotti@mev.co.uk>
Tue, 19 Jun 2012 09:17:43 +0000 (10:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2012 19:56:54 +0000 (12:56 -0700)
commit2452577dff2f3a99d0877d20375e6279170e9e2f
tree430f9c39a65219d0b4e796ed9bcdc976622b7a6b
parent37b31e132a3f66e19828d5335525d15b8fedc64c
staging: comedi: make class and file operations static

A couple of global variables in "comedi_fops.c" are only referenced from
that .c file and can be declared 'static'.  Also remove them from
"comedi_fops.h" where they are declared 'extern'.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c
drivers/staging/comedi/comedi_fops.h