fwupd/plugins/flashrom/fu-flashrom-internal-device.h
Richard Hughes a3cd497bd1 flashrom: Ensure internal devices get an assigned context
This makes the quirks work correctly. Fixes a warning seen in the logs.
2021-09-27 11:06:13 +01:00

20 lines
453 B
C

/*
* Copyright (C) 2021 Daniel Campello <campello@chromium.org>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include "fu-flashrom-device.h"
#define FU_TYPE_FLASHROM_INTERNAL_DEVICE (fu_flashrom_internal_device_get_type())
G_DECLARE_FINAL_TYPE(FuFlashromInternalDevice,
fu_flashrom_internal_device,
FU,
FLASHROM_INTERNAL_DEVICE,
FuFlashromDevice)
FuDevice *
fu_flashrom_internal_device_new(FuContext *ctx);