summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@nvidia.com>2013-06-05 23:59:30 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:15:01 -0700
commit58b96ab55a497a09fd352bd2629a7aeb08c96d6f (patch)
tree83c19b1e9f4a3822cdc773986a1dd249cb9122f3 /drivers/spi
parentd4daf2ca4b558b1e463c1f70068792313baeb00f (diff)
SPI: tegra114: rename clock_always_on
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-tegra114.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/spi/spi-tegra114.c b/drivers/spi/spi-tegra114.c
index a39c55621291..cf9924ef22ff 100644
--- a/drivers/spi/spi-tegra114.c
+++ b/drivers/spi/spi-tegra114.c
@@ -1092,7 +1092,7 @@ static struct tegra_spi_platform_data *tegra_spi_parse_dt(
pdata->spi_max_frequency = be32_to_cpup(prop);
if (of_find_property(np, "nvidia,clock-always-on", NULL))
- pdata->clock_always_on = true;
+ pdata->is_clkon_always = true;
return pdata;
}
@@ -1151,7 +1151,7 @@ static int tegra_spi_probe(struct platform_device *pdev)
tspi = spi_master_get_devdata(master);
tspi->master = master;
tspi->dma_req_sel = pdata->dma_req_sel;
- tspi->clock_always_on = pdata->clock_always_on;
+ tspi->clock_always_on = pdata->is_clkon_always;
tspi->dev = &pdev->dev;
spin_lock_init(&tspi->lock);