From: Wei Yongjun Date: Fri, 5 Apr 2013 13:45:36 +0000 (+0800) Subject: spi: tegra: slink: make local symbols static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8b0bebe2c821f0bb872da94cc815096dad89850c;p=linux-beck.git 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 Reviewed-by: Thierry Reding Signed-off-by: Mark Brown --- 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, };