]> git.karo-electronics.de Git - linux-beck.git/commitdiff
spi: tegra: slink: make local symbols static
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 5 Apr 2013 13:45:36 +0000 (21:45 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 8 Apr 2013 12:41:34 +0000 (13:41 +0100)
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>
drivers/spi/spi-tegra20-slink.c

index 9c02470fa17046dfbd575fb94f590a5628f3f19a..3faf88d003de79a853b87d1b1ad4457768351b81 100644 (file)
@@ -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,
 };