diff mbox series

[09/10] bus: ti-sysc: Correct misdocumentation of 'sysc_ioremap()'

Message ID 20210526081038.544942-10-lee.jones@linaro.org
State New
Headers show
Series Rid W=1 warnings from Bus | expand

Commit Message

Lee Jones May 26, 2021, 8:10 a.m. UTC
Fixes the following W=1 kernel build warning(s):

 drivers/bus/ti-sysc.c:867: warning: expecting prototype for syc_ioremap(). Prototype was for sysc_ioremap() instead

Cc: Tony Lindgren <tony@atomide.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>

---
 drivers/bus/ti-sysc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.31.1

Comments

Tony Lindgren June 11, 2021, 7:21 a.m. UTC | #1
* Lee Jones <lee.jones@linaro.org> [210526 11:11]:
> Fixes the following W=1 kernel build warning(s):

> 

>  drivers/bus/ti-sysc.c:867: warning: expecting prototype for syc_ioremap(). Prototype was for sysc_ioremap() instead


Picking this patch into omap-for-v5.14/ti-sysc thanks.

Lee and Philipp, if you already have this patch queued elsewhere, please
let me know and I can drop it.

Regards,

Tony
diff mbox series

Patch

diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c
index 5fae60f8c1355..0d4a1104b44ad 100644
--- a/drivers/bus/ti-sysc.c
+++ b/drivers/bus/ti-sysc.c
@@ -853,7 +853,7 @@  static int sysc_check_registers(struct sysc *ddata)
 }
 
 /**
- * syc_ioremap - ioremap register space for the interconnect target module
+ * sysc_ioremap - ioremap register space for the interconnect target module
  * @ddata: device driver data
  *
  * Note that the interconnect target module registers can be anywhere