]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: vchiq_core: Move remote_event_signal() vchiq_core
authorUmang Jain <umang.jain@ideasonboard.com>
Thu, 19 Sep 2024 14:21:28 +0000 (19:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Oct 2024 09:59:06 +0000 (11:59 +0200)
commitce64433cd42247fecf4d039dbcebeab12a3b2fa4
tree0af878046013186eee77df446d769ce59aa366c9
parentf813dac50f32d1457da72790ceb4778fe259d687
staging: vchiq_core: Move remote_event_signal() vchiq_core

The function remote_event_signal() is declared in vchiq_core.h while
defined in vchiq_arm.c and used only in vchiq_core.c. Move the
definition to vchiq_core.c as it is only used in this file.

Also convert it to static and drop the function signature from
vchiq_core.h header. BELL2 doorbell macro is also moved from vchiq_arm
to vchiq_core as part of this change.

No functional changes intended in this patch.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240919142130.1331495-2-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h