Re: [PATCH v5 11/15] hwspinlock: move entries from internal to public header

From: Chen-Yu Tsai

Date: Thu Mar 19 2026 - 09:11:51 EST


On Thu, Mar 19, 2026 at 7:00 PM Wolfram Sang
<wsa+renesas@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Providers need the ops-structure and the hwlock_to_id-function. Move
> these entries to the public header. With this change, all providers are
> also updated to use the public header only. The internal header is now
> used by the core only.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/hwspinlock/hwspinlock_core.c | 8 +++++++
> drivers/hwspinlock/hwspinlock_internal.h | 29 ------------------------
> drivers/hwspinlock/omap_hwspinlock.c | 2 --
> drivers/hwspinlock/qcom_hwspinlock.c | 2 --
> drivers/hwspinlock/sprd_hwspinlock.c | 2 --
> drivers/hwspinlock/stm32_hwspinlock.c | 2 --

> drivers/hwspinlock/sun6i_hwspinlock.c | 2 --

Acked-by: Chen-Yu Tsai <wens@xxxxxxxxxx> # for sun6i