summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-11-22 16:39:53 +0000
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-12-21 09:48:00 +0000
commit30867e5902747ec7574dfa524f622bef75e07acd (patch)
tree6e87e1200665d67a79dbc2057c0a1b1e9d778ccb
parent798562423ee5b4d3896c5f2038693c8bdb5e346d (diff)
fastrpc: rename the device node to fastrpc-adsp for adsp
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-rw-r--r--inc/fastrpc_internal.h2
-rw-r--r--src/fastrpc_apps_user.c2
-rw-r--r--src/rpcmem.c1
3 files changed, 3 insertions, 2 deletions
diff --git a/inc/fastrpc_internal.h b/inc/fastrpc_internal.h
index 07a35a8..e669ed0 100644
--- a/inc/fastrpc_internal.h
+++ b/inc/fastrpc_internal.h
@@ -44,7 +44,7 @@
#define FASTRPC_IOCTL_ALLOC_DMA_BUFF _IOWR('R', 16, struct fastrpc_ioctl_alloc_dma_buf)
#define FASTRPC_IOCTL_FREE_DMA_BUFF _IOWR('R', 17, uint32_t)
-#define DEVICE_NAME "adsprpc-smd"
+#define DEVICE_NAME "fastrpc-adsp"
#if !(defined __qdsp6__) && !(defined __hexagon__)
static __inline uint32 Q6_R_cl0_R(uint32 num)
diff --git a/src/fastrpc_apps_user.c b/src/fastrpc_apps_user.c
index e664534..4abdcb2 100644
--- a/src/fastrpc_apps_user.c
+++ b/src/fastrpc_apps_user.c
@@ -64,7 +64,7 @@
#endif
#ifndef FASTRPC_DEVICE
-#define FASTRPC_DEVICE "/dev/adsprpc-smd"
+#define FASTRPC_DEVICE "/dev/fastrpc-adsp"
#endif
#define EVENT_SIZE ( sizeof (struct inotify_event) )
diff --git a/src/rpcmem.c b/src/rpcmem.c
index be5c6ed..309a09b 100644
--- a/src/rpcmem.c
+++ b/src/rpcmem.c
@@ -37,6 +37,7 @@
#include <stdio.h>
#include <pthread.h>
+#define FASTRPC_DEVICE "/dev/fastrpc-adsp"
#define PAGE_SIZE 4096
#define PAGE_MASK ~((uintptr_t)PAGE_SIZE - 1)