diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-04-05 09:45:36 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-08 08:41:34 -0400 |
commit | 8b0bebe2c821f0bb872da94cc815096dad89850c (patch) | |
tree | 75803c5ef2c8da7cbd3ced34110b289b9e1be1e8 /drivers/spi/spi-tegra20-slink.c | |
parent | cbfd6a21b6fae968d10374bc5913823573b517ef (diff) |
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) | |||
1045 | tspi->spi_max_frequency = 25000000; /* 25MHz */ | 1045 | tspi->spi_max_frequency = 25000000; /* 25MHz */ |
1046 | } | 1046 | } |
1047 | 1047 | ||
1048 | const struct tegra_slink_chip_data tegra30_spi_cdata = { | 1048 | static const struct tegra_slink_chip_data tegra30_spi_cdata = { |
1049 | .cs_hold_time = true, | 1049 | .cs_hold_time = true, |
1050 | }; | 1050 | }; |
1051 | 1051 | ||
1052 | const struct tegra_slink_chip_data tegra20_spi_cdata = { | 1052 | static const struct tegra_slink_chip_data tegra20_spi_cdata = { |
1053 | .cs_hold_time = false, | 1053 | .cs_hold_time = false, |
1054 | }; | 1054 | }; |
1055 | 1055 | ||