2021-05-26 08:14:23

by Lee Jones

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

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 <[email protected]>
Cc: Philipp Zabel <[email protected]>
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
---
drivers/bus/ti-sysc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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
--
2.31.1


2021-06-11 07:24:57

by Tony Lindgren

[permalink] [raw]
Subject: Re: [PATCH 09/10] bus: ti-sysc: Correct misdocumentation of 'sysc_ioremap()'

* Lee Jones <[email protected]> [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