]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit37ca35c47b9eda39bad70a4546c0ec01e8b0e576
tree2b4dbbbc8141830820b94b6acaa06ff8bcf84d09
parenta539c72a195c081d950475c2945cb82d80be9b66
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