diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-02-07 02:10:38 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-02-07 02:10:38 +0100 |
commit | 11c3475a2d639d3b06ac0799d5dc304c927543d7 (patch) | |
tree | 4a71f3a112794c9537955cc3180b2e5165d9881e | |
parent | ec569a3e6dea9398004c84449cf1b3fb6d6343a8 (diff) | |
download | hardware_replicant_libsamsung-ipc-patches-todo/replicant-9-kenrel-gnulinux-rebased-to-be-cleaned-does-not-compile.tar.gz hardware_replicant_libsamsung-ipc-patches-todo/replicant-9-kenrel-gnulinux-rebased-to-be-cleaned-does-not-compile.tar.bz2 hardware_replicant_libsamsung-ipc-patches-todo/replicant-9-kenrel-gnulinux-rebased-to-be-cleaned-does-not-compile.zip |
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | samsung-ipc/Makefile.am | 1 | ||||
-rw-r--r-- | samsung-ipc/devices/galaxys2/galaxys2.c | 1 | ||||
-rw-r--r-- | samsung-ipc/devices/maguro/maguro.c | 1 | ||||
-rw-r--r-- | samsung-ipc/devices/piranha/piranha.c | 5 | ||||
-rw-r--r-- | samsung-ipc/modems/xmm626/kernel/samsung_smdk4412/xmm626_kernel_samsung_smdk4412.c | 7 |
5 files changed, 9 insertions, 6 deletions
diff --git a/samsung-ipc/Makefile.am b/samsung-ipc/Makefile.am index 2d87fd5..26886b4 100644 --- a/samsung-ipc/Makefile.am +++ b/samsung-ipc/Makefile.am @@ -39,7 +39,6 @@ libsamsung_ipc_la_SOURCES = \ modems/xmm626/xmm626_modem.h \ modems/xmm626/xmm626_modem_link_device_hsic.h \ modems/xmm626/xmm626_modem_prj.h \ - modems/xmm626/kernel/linux/xmm626_kernel_linux.c \ modems/xmm626/kernel/linux/xmm626_kernel_linux.h \ modems/xmm626/kernel/samsung_smdk4412/xmm626_kernel_samsung_smdk4412.c \ modems/xmm626/kernel/samsung_smdk4412/xmm626_kernel_samsung_smdk4412.h \ diff --git a/samsung-ipc/devices/galaxys2/galaxys2.c b/samsung-ipc/devices/galaxys2/galaxys2.c index ec85c4e..762f190 100644 --- a/samsung-ipc/devices/galaxys2/galaxys2.c +++ b/samsung-ipc/devices/galaxys2/galaxys2.c @@ -31,6 +31,7 @@ #include "xmm626.h" #include "xmm626_hsic.h" #include "xmm626_sec_modem.h" +#include <xmm626_kernel_samsung_smdk4412.h> int galaxys2_boot(struct ipc_client *client) { diff --git a/samsung-ipc/devices/maguro/maguro.c b/samsung-ipc/devices/maguro/maguro.c index 3ac9810..ef648c2 100644 --- a/samsung-ipc/devices/maguro/maguro.c +++ b/samsung-ipc/devices/maguro/maguro.c @@ -32,6 +32,7 @@ #include "xmm626.h" #include "xmm626_mipi.h" #include "xmm626_sec_modem.h" +#include <xmm626_kernel_samsung_smdk4412.h> int maguro_boot(struct ipc_client *client) { diff --git a/samsung-ipc/devices/piranha/piranha.c b/samsung-ipc/devices/piranha/piranha.c index 7be3799..d78453f 100644 --- a/samsung-ipc/devices/piranha/piranha.c +++ b/samsung-ipc/devices/piranha/piranha.c @@ -31,6 +31,7 @@ #include "xmm626.h" #include "xmm626_mipi.h" #include "xmm626_sec_modem.h" +#include <xmm626_kernel_samsung_smdk4412.h> int piranha_boot(struct ipc_client *client) { @@ -188,7 +189,7 @@ int piranha_open(struct ipc_client *client, void *data, int type) transport_data = (struct piranha_transport_data *) data; - transport_data->fd = xmm626_sec_modem_open(type); + transport_data->fd = modem_open(type); if (transport_data->fd < 0) return -1; @@ -204,7 +205,7 @@ int piranha_close(struct ipc_client *client, void *data) transport_data = (struct piranha_transport_data *) data; - xmm626_sec_modem_close(transport_data->fd); + modem_close(transport_data->fd); transport_data->fd = -1; return 0; diff --git a/samsung-ipc/modems/xmm626/kernel/samsung_smdk4412/xmm626_kernel_samsung_smdk4412.c b/samsung-ipc/modems/xmm626/kernel/samsung_smdk4412/xmm626_kernel_samsung_smdk4412.c index c609a47..9004aad 100644 --- a/samsung-ipc/modems/xmm626/kernel/samsung_smdk4412/xmm626_kernel_samsung_smdk4412.c +++ b/samsung-ipc/modems/xmm626/kernel/samsung_smdk4412/xmm626_kernel_samsung_smdk4412.c @@ -30,9 +30,10 @@ #include <samsung-ipc.h> #include <ipc.h> -#include <modem.h> -#include <modem_prj.h> -#include <modem_link_device_hsic.h> +#include <xmm626_modem_if.h> +#include <xmm626_sec_modem.h> +#include <xmm626_modem_prj.h> +#include <xmm626_modem_link_device_hsic.h> #include <xmm626.h> #include <xmm626_kernel_samsung_smdk4412.h> |