staging/easycap: make module params private/static, fix build
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 11 Nov 2010 18:44:22 +0000 (10:44 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Nov 2010 20:31:49 +0000 (12:31 -0800)
commit62af33ec6e73d658720ea1190861c8c0609a94b3
tree50901716bea055c13637603608e256b646d0101c
parenta65e659d97bc652b2e14a63beaf9efbf5d4e18b2
staging/easycap: make module params private/static, fix build

The easycap driver has module parameters (bars, gain, & debug)
with global scope that intrude on the kernel namespace and cause
build problems.  Change the names of them to be driver-specific
and make 2 of them static.

drivers/built-in.o:(.bss+0x97c00): multiple definition of `debug'
ld: Warning: size of symbol `debug' changed from 58 in arch/x86/built-in.o to 4 in drivers/built-in.o

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/easycap/easycap.h
drivers/staging/easycap/easycap_debug.h
drivers/staging/easycap/easycap_low.c
drivers/staging/easycap/easycap_main.c