forked from Minki/linux
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>
This commit is contained in:
parent
cbfd6a21b6
commit
8b0bebe2c8
@ -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,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user