From 3e389d8ba666c5c2ad42021c2087630c1e412954 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Mon, 1 Feb 2016 01:40:42 -0800 Subject: 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 Reviewed-by: Simon Glass Tested-by: Simon Glass --- include/pch.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/pch.h') diff --git a/include/pch.h b/include/pch.h index f3899d822f..c04cfa32bc 100644 --- a/include/pch.h +++ b/include/pch.h @@ -15,13 +15,13 @@ /* Operations for the Platform Controller Hub */ struct pch_ops { /** - * get_sbase() - get the address of SPI base + * get_spi_base() - get the address of SPI base * * @dev: PCH device to check * @sbasep: Returns address of SPI base if available, else 0 * @return 0 if OK, -ve on error (e.g. there is no SPI base) */ - int (*get_sbase)(struct udevice *dev, ulong *sbasep); + int (*get_spi_base)(struct udevice *dev, ulong *sbasep); /** * set_spi_protect() - set whether SPI flash is protected or not @@ -37,13 +37,13 @@ struct pch_ops { #define pch_get_ops(dev) ((struct pch_ops *)(dev)->driver->ops) /** - * pch_get_sbase() - get the address of SPI base + * pch_get_spi_base() - get the address of SPI base * * @dev: PCH device to check * @sbasep: Returns address of SPI base if available, else 0 * @return 0 if OK, -ve on error (e.g. there is no SPI base) */ -int pch_get_sbase(struct udevice *dev, ulong *sbasep); +int pch_get_spi_base(struct udevice *dev, ulong *sbasep); /** * set_spi_protect() - set whether SPI flash is protected or not -- cgit v1.2.1