summaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2023-03-31 08:18:17 +0100
committerConor Dooley <conor.dooley@microchip.com>2023-04-03 20:32:43 +0100
commit4dd472bdafcb660bea17bc63a97d06e24fcb36ed (patch)
treefccd1284de0b9b1885cf1b9ea485b26a5b51c1d1 /drivers/soc
parent5ee40e8d7630b9f3665c9cd990ac00e6e4bc7957 (diff)
soc: microchip: mpfs: add a prefix to rx_callback()
Add a prefix to the function name to match the rest of the file. Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r--drivers/soc/microchip/mpfs-sys-controller.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/soc/microchip/mpfs-sys-controller.c b/drivers/soc/microchip/mpfs-sys-controller.c
index ceaeebc1fc6b..216d9f4ea0ce 100644
--- a/drivers/soc/microchip/mpfs-sys-controller.c
+++ b/drivers/soc/microchip/mpfs-sys-controller.c
@@ -75,7 +75,7 @@ out:
}
EXPORT_SYMBOL(mpfs_blocking_transaction);
-static void rx_callback(struct mbox_client *client, void *msg)
+static void mpfs_sys_controller_rx_callback(struct mbox_client *client, void *msg)
{
struct mpfs_sys_controller *sys_controller =
container_of(client, struct mpfs_sys_controller, client);
@@ -121,7 +121,7 @@ static int mpfs_sys_controller_probe(struct platform_device *pdev)
return -ENOMEM;
sys_controller->client.dev = dev;
- sys_controller->client.rx_callback = rx_callback;
+ sys_controller->client.rx_callback = mpfs_sys_controller_rx_callback;
sys_controller->client.tx_block = 1U;
sys_controller->client.tx_tout = msecs_to_jiffies(MPFS_SYS_CTRL_TIMEOUT_MS);