mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Reviewed-by: Thierry Reding <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
parent
cbfd6a21b6
commit
8b0bebe2c8
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue