summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Cardace <acardace@redhat.com>2021-01-19 18:38:57 +0100
committerAntonio Cardace <acardace@redhat.com>2021-01-22 14:44:19 +0100
commit0b91356665b1ea6528cdbd2c312112d0a7414166 (patch)
treee4802326469dcc89bcf60fff50ef8e573c5fdce8
parent462668b0c33c10eda2ef1845a7e29d057c4eaa4e (diff)
downloadNetworkManager-0b91356665b1ea6528cdbd2c312112d0a7414166.tar.gz
device: make 'nm_device_master_release_slaves' internal API
https://bugzilla.redhat.com/show_bug.cgi?id=1870691 Signed-off-by: Antonio Cardace <acardace@redhat.com>
-rw-r--r--src/devices/nm-device-private.h2
-rw-r--r--src/devices/nm-device.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/nm-device-private.h b/src/devices/nm-device-private.h
index b165a549a8..8675a699a3 100644
--- a/src/devices/nm-device-private.h
+++ b/src/devices/nm-device-private.h
@@ -127,6 +127,8 @@ void nm_device_recheck_available_connections(NMDevice *device);
void
nm_device_master_check_slave_physical_port(NMDevice *self, NMDevice *slave, NMLogDomain log_domain);
+void nm_device_master_release_slaves(NMDevice *self);
+
void nm_device_set_carrier(NMDevice *self, gboolean carrier);
void nm_device_queue_recheck_assume(NMDevice *device);
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 2f4ad2ad24..475ef90123 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -6501,7 +6501,7 @@ nm_device_master_check_slave_physical_port(NMDevice *self, NMDevice *slave, NMLo
}
/* release all slaves */
-static void
+void
nm_device_master_release_slaves(NMDevice *self)
{
NMDevicePrivate * priv = NM_DEVICE_GET_PRIVATE(self);