summaryrefslogtreecommitdiff
path: root/drivers/net/caif/caif_shmcore.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/caif/caif_shmcore.c')
-rw-r--r--drivers/net/caif/caif_shmcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/caif/caif_shmcore.c b/drivers/net/caif/caif_shmcore.c
index 731aa1193770..d4b26fb24ed9 100644
--- a/drivers/net/caif/caif_shmcore.c
+++ b/drivers/net/caif/caif_shmcore.c
@@ -134,7 +134,7 @@ int caif_shmdrv_rx_cb(u32 mbx_msg, void *priv)
u32 avail_emptybuff = 0;
unsigned long flags = 0;
- pshm_drv = (struct shmdrv_layer *)priv;
+ pshm_drv = priv;
/* Check for received buffers. */
if (mbx_msg & SHM_FULL_MASK) {