soc: microchip: mpfs: add a prefix to rx_callback()
authorConor Dooley <conor.dooley@microchip.com>
Fri, 31 Mar 2023 07:18:17 +0000 (08:18 +0100)
committerConor Dooley <conor.dooley@microchip.com>
Mon, 3 Apr 2023 19:32:43 +0000 (20:32 +0100)
Add a prefix to the function name to match the rest of the file.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
drivers/soc/microchip/mpfs-sys-controller.c

index ceaeebc1fc6be5dd5920eaca0cb2cf147868aa79..216d9f4ea0ce936cec3e6a7da9bc99bef7e81cd5 100644 (file)
@@ -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);