aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-09-12 22:40:01 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-09-12 22:40:01 +0200
commitdfd1487b7f2366e505fc029de971af8bb0b6a869 (patch)
tree1fd490ef1c12b137024d634b0dd62efea401f698
parent0997cb1bf74d87165ea7753f1f5999f5cbafbd60 (diff)
downloadhardware_replicant_libsamsung-ipc-dfd1487b7f2366e505fc029de971af8bb0b6a869.tar.gz
hardware_replicant_libsamsung-ipc-dfd1487b7f2366e505fc029de971af8bb0b6a869.tar.bz2
hardware_replicant_libsamsung-ipc-dfd1487b7f2366e505fc029de971af8bb0b6a869.zip
devices: fix XMM626_SEC_MODEM_BOOT0_DEVICE
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--samsung-ipc/devices/galaxys2/galaxys2.c4
-rw-r--r--samsung-ipc/devices/generic/generic.c4
-rw-r--r--samsung-ipc/devices/i9300/i9300.c4
-rw-r--r--samsung-ipc/devices/maguro/maguro.c4
-rw-r--r--samsung-ipc/devices/n5100/n5100.c4
-rw-r--r--samsung-ipc/devices/n7100/n7100.c4
-rw-r--r--samsung-ipc/devices/piranha/piranha.c4
7 files changed, 14 insertions, 14 deletions
diff --git a/samsung-ipc/devices/galaxys2/galaxys2.c b/samsung-ipc/devices/galaxys2/galaxys2.c
index f7e7c48..547b33b 100644
--- a/samsung-ipc/devices/galaxys2/galaxys2.c
+++ b/samsung-ipc/devices/galaxys2/galaxys2.c
@@ -60,7 +60,7 @@ int galaxys2_boot(struct ipc_client *client)
}
ipc_client_log(client, "Mapped modem image data to memory");
- modem_boot_fd = open(XMM626_SEC_MODEM_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ modem_boot_fd = open(XMM626_KERNEL_SAMSUNG_SMDK4412_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (modem_boot_fd < 0) {
ipc_client_log(client, "Opening modem boot device failed");
goto error;
@@ -316,7 +316,7 @@ int galaxys2_power_off(__attribute__((unused)) void *data)
int fd;
int rc;
- fd = open(XMM626_SEC_MODEM_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ fd = open(XMM626_KERNEL_SAMSUNG_SMDK4412_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (fd < 0)
return -1;
diff --git a/samsung-ipc/devices/generic/generic.c b/samsung-ipc/devices/generic/generic.c
index aa58c09..afcbf66 100644
--- a/samsung-ipc/devices/generic/generic.c
+++ b/samsung-ipc/devices/generic/generic.c
@@ -93,7 +93,7 @@ int generic_boot(struct ipc_client *client)
rc = 0;
do {
- modem_boot_fd = open(XMM626_SEC_MODEM_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ modem_boot_fd = open(XMM626_KERNEL_LINUX_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (modem_boot_fd >= 0) {
break;
}
@@ -332,7 +332,7 @@ int generic_power_off(__attribute__((unused)) void *data)
int fd;
int rc;
- fd = open(XMM626_SEC_MODEM_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ fd = open(XMM626_KERNEL_LINUX_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (fd < 0)
return -1;
diff --git a/samsung-ipc/devices/i9300/i9300.c b/samsung-ipc/devices/i9300/i9300.c
index 45fe7b5..ad0e4b2 100644
--- a/samsung-ipc/devices/i9300/i9300.c
+++ b/samsung-ipc/devices/i9300/i9300.c
@@ -60,7 +60,7 @@ int i9300_boot(struct ipc_client *client)
}
ipc_client_log(client, "Mapped modem image data to memory");
- modem_boot_fd = open(XMM626_SEC_MODEM_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ modem_boot_fd = open(XMM626_KERNEL_SAMSUNG_SMDK4412_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (modem_boot_fd < 0) {
ipc_client_log(client, "Opening modem boot device failed");
goto error;
@@ -310,7 +310,7 @@ int i9300_power_off(__attribute__((unused)) void *data)
int fd;
int rc;
- fd = open(XMM626_SEC_MODEM_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ fd = open(XMM626_KERNEL_SAMSUNG_SMDK4412_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (fd < 0)
return -1;
diff --git a/samsung-ipc/devices/maguro/maguro.c b/samsung-ipc/devices/maguro/maguro.c
index cc013a3..0cbd30f 100644
--- a/samsung-ipc/devices/maguro/maguro.c
+++ b/samsung-ipc/devices/maguro/maguro.c
@@ -61,7 +61,7 @@ int maguro_boot(struct ipc_client *client)
}
ipc_client_log(client, "Mapped modem image data to memory");
- modem_boot_fd = open(XMM626_SEC_MODEM_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ modem_boot_fd = open(XMM626_KERNEL_SAMSUNG_SMDK4412_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (modem_boot_fd < 0) {
ipc_client_log(client, "Opening modem boot device failed");
goto error;
@@ -291,7 +291,7 @@ int maguro_power_off(__attribute__((unused)) void *data)
int fd;
int rc;
- fd = open(XMM626_SEC_MODEM_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ fd = open(XMM626_KERNEL_SAMSUNG_SMDK4412_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (fd < 0)
return -1;
diff --git a/samsung-ipc/devices/n5100/n5100.c b/samsung-ipc/devices/n5100/n5100.c
index 8679cfe..b50e1d2 100644
--- a/samsung-ipc/devices/n5100/n5100.c
+++ b/samsung-ipc/devices/n5100/n5100.c
@@ -61,7 +61,7 @@ int n5100_boot(struct ipc_client *client)
}
ipc_client_log(client, "Mapped modem image data to memory");
- modem_boot_fd = open(XMM626_SEC_MODEM_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ modem_boot_fd = open(XMM626_KERNEL_SAMSUNG_SMDK4412_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (modem_boot_fd < 0) {
ipc_client_log(client, "Opening modem boot device failed");
goto error;
@@ -311,7 +311,7 @@ int n5100_power_off(__attribute__((unused)) void *data)
int fd;
int rc;
- fd = open(XMM626_SEC_MODEM_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ fd = open(XMM626_KERNEL_SAMSUNG_SMDK4412_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (fd < 0)
return -1;
diff --git a/samsung-ipc/devices/n7100/n7100.c b/samsung-ipc/devices/n7100/n7100.c
index 41cf5a8..a4f0e3b 100644
--- a/samsung-ipc/devices/n7100/n7100.c
+++ b/samsung-ipc/devices/n7100/n7100.c
@@ -60,7 +60,7 @@ int n7100_boot(struct ipc_client *client)
}
ipc_client_log(client, "Mapped modem image data to memory");
- modem_boot_fd = open(XMM626_SEC_MODEM_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ modem_boot_fd = open(XMM626_KERNEL_SAMSUNG_SMDK4412_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (modem_boot_fd < 0) {
ipc_client_log(client, "Opening modem boot device failed");
goto error;
@@ -310,7 +310,7 @@ int n7100_power_off(__attribute__((unused)) void *data)
int fd;
int rc;
- fd = open(XMM626_SEC_MODEM_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ fd = open(XMM626_KERNEL_SAMSUNG_SMDK4412_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (fd < 0)
return -1;
diff --git a/samsung-ipc/devices/piranha/piranha.c b/samsung-ipc/devices/piranha/piranha.c
index 87a6046..d656088 100644
--- a/samsung-ipc/devices/piranha/piranha.c
+++ b/samsung-ipc/devices/piranha/piranha.c
@@ -59,7 +59,7 @@ int piranha_boot(struct ipc_client *client)
}
ipc_client_log(client, "Mapped modem image data to memory");
- modem_boot_fd = open(XMM626_SEC_MODEM_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ modem_boot_fd = open(XMM626_KERNEL_SAMSUNG_SMDK4412_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (modem_boot_fd < 0) {
ipc_client_log(client, "Opening modem boot device failed");
goto error;
@@ -258,7 +258,7 @@ int piranha_power_off(__attribute__((unused)) void *data)
int fd;
int rc;
- fd = open(XMM626_SEC_MODEM_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
+ fd = open(XMM626_KERNEL_SAMSUNG_SMDK4412_BOOT0_DEVICE, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (fd < 0)
return -1;