Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b0bebe2 authored by Wei Yongjun's avatar Wei Yongjun Committed by Mark Brown
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent cbfd6a21
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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,
};