]> git.baikalelectronics.ru Git - kernel.git/commit
staging: cxt1e1: Remove #define SBE_INCLUDE_SYMBOLS
authorShaun Laing <shaun@XResource.ca>
Fri, 9 Aug 2013 13:54:24 +0000 (07:54 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Aug 2013 22:20:25 +0000 (15:20 -0700)
commit9dfbba4c195a3a31cbffe30a15991b4bbdf50c00
tree2b4dbbbc8141830820b94b6acaa06ff8bcf84d09
parent3e26620b2024ae3810dcbc6862bedf5e8b6ce0d2
staging: cxt1e1: Remove #define SBE_INCLUDE_SYMBOLS

Removed the unneeded SBE_INCLUDE_SYMBOLS #define, and the associated STATIC
#define, and replaced all occurances of STATIC with 'static'.  This was in
response to sparse warnings of the form "symbol 'XYZ' was not declared. Should
it be static?".

Removed a function prototype (musycc_init_port) as adding the 'static'
declaration produced a new gcc warning. (musycc_init_port is only declared if
SBE_WAN256T3_ENABLE is set)

Signed-off-by: Shaun Laing <shaun@xresource.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/cxt1e1/Makefile
drivers/staging/cxt1e1/comet.c
drivers/staging/cxt1e1/functions.c
drivers/staging/cxt1e1/hwprobe.c
drivers/staging/cxt1e1/linux.c
drivers/staging/cxt1e1/musycc.c
drivers/staging/cxt1e1/pmc93x6_eeprom.c
drivers/staging/cxt1e1/pmcc4_drv.c
drivers/staging/cxt1e1/sbeid.c