diff options
Diffstat (limited to 'drivers/pch/pch-uclass.c')
-rw-r--r-- | drivers/pch/pch-uclass.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pch/pch-uclass.c b/drivers/pch/pch-uclass.c index cae4f50e57..b33d50201b 100644 --- a/drivers/pch/pch-uclass.c +++ b/drivers/pch/pch-uclass.c @@ -12,15 +12,15 @@ DECLARE_GLOBAL_DATA_PTR; -int pch_get_sbase(struct udevice *dev, ulong *sbasep) +int pch_get_spi_base(struct udevice *dev, ulong *sbasep) { struct pch_ops *ops = pch_get_ops(dev); *sbasep = 0; - if (!ops->get_sbase) + if (!ops->get_spi_base) return -ENOSYS; - return ops->get_sbase(dev, sbasep); + return ops->get_spi_base(dev, sbasep); } int pch_set_spi_protect(struct udevice *dev, bool protect) |