summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2016-02-01 01:40:42 -0800
committerBin Meng <bmeng.cn@gmail.com>2016-02-05 12:47:21 +0800
commit3e389d8ba666c5c2ad42021c2087630c1e412954 (patch)
tree17f0dd4428249c31e320f3eee4b9552ca9aa34dd /drivers/spi
parentd02be99e6774b99c27b7d4304865c7f45e1ac4b4 (diff)
downloadu-boot-imx-3e389d8ba666c5c2ad42021c2087630c1e412954.zip
u-boot-imx-3e389d8ba666c5c2ad42021c2087630c1e412954.tar.gz
u-boot-imx-3e389d8ba666c5c2ad42021c2087630c1e412954.tar.bz2
dm: pch: Rename get_sbase op to get_spi_base
Spell out 'sbase' to 'spi_base' so that it looks clearer. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/ich.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c
index 1acdc88..00b2fed 100644
--- a/drivers/spi/ich.c
+++ b/drivers/spi/ich.c
@@ -119,7 +119,7 @@ static int ich_init_controller(struct udevice *dev,
void *sbase;
/* SBASE is similar */
- pch_get_sbase(dev->parent, &sbase_addr);
+ pch_get_spi_base(dev->parent, &sbase_addr);
sbase = (void *)sbase_addr;
debug("%s: sbase=%p\n", __func__, sbase);