@@ -2310,7 +2310,7 @@ static const struct qmi_device_ops qrtr_ops = {
.destroy = qmi_device_qrtr_destroy,
};
-struct qmi_device *qmi_device_new_qrtr(void)
+struct qmi_device *qmi_qrtr_node_new(uint32_t node)
{
struct qmi_device_qrtr *qrtr;
int fd;
@@ -88,8 +88,8 @@ bool qmi_device_set_expected_data_format(struct qmi_device *device,
enum qmi_device_expected_data_format format);
struct qmi_device *qmi_device_new_qmux(const char *device);
-struct qmi_device *qmi_device_new_qrtr(void);
+struct qmi_device *qmi_qrtr_node_new(uint32_t node);
struct qmi_service *qmi_qrtr_node_get_service(struct qmi_device *device,
uint32_t type);
@@ -208,7 +208,7 @@ static int qrtrqmi_enable(struct ofono_modem *modem)
DBG("%p", modem);
- data->node = qmi_device_new_qrtr();
+ data->node = qmi_qrtr_node_new(0);
if (!data->node)
return -EIO;
@@ -153,7 +153,7 @@ static struct test_info *test_setup(void)
info = l_new(struct test_info, 1);
setup_test_qrtr_services(info);
- info->node = qmi_device_new_qrtr();
+ info->node = qmi_qrtr_node_new(0);
assert(info->node);
/* Enable ofono logging */