[Replicant] [libsamsung-ipc] [PATCH 2/4] samsung-ipc: xmm626: xmm626_modem_prj.h: include xmm626_modem_if.h

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Wed Jul 15 17:12:38 UTC 2020


xmm626_modem_prj.h uses the MAX_IPC_DEV define and the modem_link
enum which come from xmm626_modem_if.h

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 samsung-ipc/modems/xmm626/xmm626_kernel_smdk4412.c | 1 -
 samsung-ipc/modems/xmm626/xmm626_modem_prj.h       | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/samsung-ipc/modems/xmm626/xmm626_kernel_smdk4412.c b/samsung-ipc/modems/xmm626/xmm626_kernel_smdk4412.c
index 7d3c841..275a9ef 100644
--- a/samsung-ipc/modems/xmm626/xmm626_kernel_smdk4412.c
+++ b/samsung-ipc/modems/xmm626/xmm626_kernel_smdk4412.c
@@ -30,7 +30,6 @@
 #include <samsung-ipc.h>
 #include <ipc.h>
 
-#include "xmm626_modem_if.h"
 #include "xmm626_modem_prj.h"
 #include "xmm626_modem_link_device_hsic.h"
 
diff --git a/samsung-ipc/modems/xmm626/xmm626_modem_prj.h b/samsung-ipc/modems/xmm626/xmm626_modem_prj.h
index 97cdeb6..d50954a 100644
--- a/samsung-ipc/modems/xmm626/xmm626_modem_prj.h
+++ b/samsung-ipc/modems/xmm626/xmm626_modem_prj.h
@@ -17,6 +17,8 @@
 #include <stdint.h>
 #include <linux/types.h>
 
+#include "xmm626_modem_if.h"
+
 #define u8 uint8_t
 #define u16 uint16_t
 #define u32 uint32_t
-- 
2.27.0



More information about the Replicant mailing list