Merge tag 'soc-drivers-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[sfrench/cifs-2.6.git] / drivers / soc / ti / wkup_m3_ipc.c
index 6a1c6b34c414afc1715b07afcc26bcb83a2f806d..88f774db92084892c309930d1cc27103a2e0375b 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/irq.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/omap-mailbox.h>
 #include <linux/platform_device.h>
 #include <linux/remoteproc.h>
 #include <linux/suspend.h>
@@ -314,7 +313,6 @@ static irqreturn_t wkup_m3_txev_handler(int irq, void *ipc_data)
 static int wkup_m3_ping(struct wkup_m3_ipc *m3_ipc)
 {
        struct device *dev = m3_ipc->dev;
-       mbox_msg_t dummy_msg = 0;
        int ret;
 
        if (!m3_ipc->mbox) {
@@ -330,7 +328,7 @@ static int wkup_m3_ping(struct wkup_m3_ipc *m3_ipc)
         * the RX callback to avoid multiple interrupts being received
         * by the CM3.
         */
-       ret = mbox_send_message(m3_ipc->mbox, &dummy_msg);
+       ret = mbox_send_message(m3_ipc->mbox, NULL);
        if (ret < 0) {
                dev_err(dev, "%s: mbox_send_message() failed: %d\n",
                        __func__, ret);
@@ -352,7 +350,6 @@ static int wkup_m3_ping(struct wkup_m3_ipc *m3_ipc)
 static int wkup_m3_ping_noirq(struct wkup_m3_ipc *m3_ipc)
 {
        struct device *dev = m3_ipc->dev;
-       mbox_msg_t dummy_msg = 0;
        int ret;
 
        if (!m3_ipc->mbox) {
@@ -361,7 +358,7 @@ static int wkup_m3_ping_noirq(struct wkup_m3_ipc *m3_ipc)
                return -EIO;
        }
 
-       ret = mbox_send_message(m3_ipc->mbox, &dummy_msg);
+       ret = mbox_send_message(m3_ipc->mbox, NULL);
        if (ret < 0) {
                dev_err(dev, "%s: mbox_send_message() failed: %d\n",
                        __func__, ret);