diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-04-05 15:45:36 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-08 14:41:34 +0200 |
commit | 8b0bebe2c821f0bb872da94cc815096dad89850c (patch) | |
tree | 75803c5ef2c8da7cbd3ced34110b289b9e1be1e8 /drivers/spi/spi-tegra20-slink.c | |
parent | spi/pxa2xx: Convert to devm_ioremap_resource() (diff) | |
download | linux-8b0bebe2c821f0bb872da94cc815096dad89850c.tar.xz linux-8b0bebe2c821f0bb872da94cc815096dad89850c.zip |
spi: tegra: slink: make local symbols static
Neither tegra20_spi_cdata nor tegra30_spi_cdata are used outside this
file so they can, and should, be static.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/spi/spi-tegra20-slink.c')
-rw-r--r-- | drivers/spi/spi-tegra20-slink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-tegra20-slink.c b/drivers/spi/spi-tegra20-slink.c index 9c02470fa170..3faf88d003de 100644 --- a/drivers/spi/spi-tegra20-slink.c +++ b/drivers/spi/spi-tegra20-slink.c @@ -1045,11 +1045,11 @@ static void tegra_slink_parse_dt(struct tegra_slink_data *tspi) tspi->spi_max_frequency = 25000000; /* 25MHz */ } -const struct tegra_slink_chip_data tegra30_spi_cdata = { +static const struct tegra_slink_chip_data tegra30_spi_cdata = { .cs_hold_time = true, }; -const struct tegra_slink_chip_data tegra20_spi_cdata = { +static const struct tegra_slink_chip_data tegra20_spi_cdata = { .cs_hold_time = false, }; |