mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-15 06:33:49 +00:00
trivial: Export the matching fu_udev_device_set_dev()
This commit is contained in:
parent
8ae988dda8
commit
9a2e10c639
@ -494,7 +494,17 @@ fu_udev_device_get_miscdev0 (FuUdevDevice *self)
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
/**
|
||||
* fu_udev_device_set_dev:
|
||||
* @self: a #FuUdevDevice
|
||||
* @udev_device: a #GUdevDevice
|
||||
*
|
||||
* Sets the #GUdevDevice. This may need to be used to replace the actual device
|
||||
* used for reads and writes before the device is probed.
|
||||
*
|
||||
* Since: 1.6.2
|
||||
**/
|
||||
void
|
||||
fu_udev_device_set_dev (FuUdevDevice *self, GUdevDevice *udev_device)
|
||||
{
|
||||
FuUdevDevicePrivate *priv = GET_PRIVATE (self);
|
||||
|
@ -50,6 +50,8 @@ typedef enum {
|
||||
|
||||
FuUdevDevice *fu_udev_device_new (GUdevDevice *udev_device);
|
||||
GUdevDevice *fu_udev_device_get_dev (FuUdevDevice *self);
|
||||
void fu_udev_device_set_dev (FuUdevDevice *self,
|
||||
GUdevDevice *udev_device);
|
||||
const gchar *fu_udev_device_get_device_file (FuUdevDevice *self);
|
||||
const gchar *fu_udev_device_get_sysfs_path (FuUdevDevice *self);
|
||||
const gchar *fu_udev_device_get_subsystem (FuUdevDevice *self);
|
||||
|
@ -831,5 +831,6 @@ LIBFWUPDPLUGIN_1.6.2 {
|
||||
fu_i2c_device_read_full;
|
||||
fu_i2c_device_set_bus_number;
|
||||
fu_i2c_device_write_full;
|
||||
fu_udev_device_set_dev;
|
||||
local: *;
|
||||
} LIBFWUPDPLUGIN_1.6.1;
|
||||
|
Loading…
Reference in New Issue
Block a user