diff options
author | Hugo Camboulive <hugo.camboulive@gmail.com> | 2016-01-04 22:02:23 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-03 15:11:00 -0800 |
commit | d27afda304a502302b0baf4c21c7ba9451dbd992 (patch) | |
tree | 0f10ee12d5366c2a058fb16c13cd9ca1603e5d74 /drivers/staging/wilc1000/wilc_spi.c | |
parent | 1870394394734c596ec2ef4a3a853a03e128f0e2 (diff) | |
download | op-kernel-dev-d27afda304a502302b0baf4c21c7ba9451dbd992.zip op-kernel-dev-d27afda304a502302b0baf4c21c7ba9451dbd992.tar.gz |
staging: wilc1000: make some variables static
terminated_handle is used only in host_interface.c
wilc1000_spi_driver is exported by module_spi_driver()
This fixes a few Sparse warnings.
Signed-off-by: Hugo Camboulive <hugo.camboulive@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_spi.c')
-rw-r--r-- | drivers/staging/wilc1000/wilc_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_spi.c b/drivers/staging/wilc1000/wilc_spi.c index 86de50c..b9dc91d 100644 --- a/drivers/staging/wilc1000/wilc_spi.c +++ b/drivers/staging/wilc1000/wilc_spi.c @@ -153,7 +153,7 @@ static const struct of_device_id wilc1000_of_match[] = { }; MODULE_DEVICE_TABLE(of, wilc1000_of_match); -struct spi_driver wilc1000_spi_driver = { +static struct spi_driver wilc1000_spi_driver = { .driver = { .name = MODALIAS, .of_match_table = wilc1000_of_match, |