]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/commitdiff
cplusplus build fix am64x mailbox
authorPrasad Konnur <prasadkonnur@ti.com>
Mon, 15 Jun 2020 06:23:50 +0000 (11:53 +0530)
committerPrasad Konnur <prasadkonnur@ti.com>
Mon, 15 Jun 2020 06:23:50 +0000 (11:53 +0530)
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
packages/ti/drv/mailbox/soc/am64x/mailbox_soc.c [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 8bc28b0..6ade31d
@@ -951,7 +951,7 @@ int32_t Mailbox_registerInterrupts(Mbox_Handle handle)
                                                                             cfg.eventId,
                                                                             cfg.priority,
                                                                             (void *)remoteEndpoint,
-                                                                            "MAILBOX_NEW_MSG");
+                                                                            (char *)"MAILBOX_NEW_MSG");
                     gMailboxMCB.hwiHandles.mailboxFull = hwiHandle;
                     if(hwiHandle == NULL)
                     {
@@ -966,7 +966,7 @@ int32_t Mailbox_registerInterrupts(Mbox_Handle handle)
                                                                             cfg.eventId,
                                                                             cfg.priority,
                                                                             (void *)mbox,
-                                                                            "MAILBOX_NEW_MSG");
+                                                                            (char *)"MAILBOX_NEW_MSG");
                     gMailboxMCB.hwiHandles.mailboxFull = hwiHandle;
                     if(hwiHandle == NULL)
                     {