mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-22 09:12:32 +00:00

To do this without rebooting the device implement VliUsbhubPdDevice->reload() like the other FuVliUsbhubDevice child devices. Fixes half of https://github.com/fwupd/fwupd/issues/2376
20 lines
462 B
C
20 lines
462 B
C
/*
|
|
* Copyright (C) 2019 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "fu-plugin.h"
|
|
|
|
#define FU_TYPE_VLI_USBHUB_PD_DEVICE (fu_vli_usbhub_pd_device_get_type ())
|
|
G_DECLARE_FINAL_TYPE (FuVliUsbhubPdDevice, fu_vli_usbhub_pd_device, FU, VLI_USBHUB_PD_DEVICE, FuDevice)
|
|
|
|
struct _FuVliUsbhubPdDeviceClass
|
|
{
|
|
FuDeviceClass parent_class;
|
|
};
|
|
|
|
FuDevice *fu_vli_usbhub_pd_device_new (FuVliUsbhubDevice *parent);
|