/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __SYSFS_UPLOAD_H #define __SYSFS_UPLOAD_H #include <linux/device.h> #include "sysfs.h" /** * enum fw_upload_prog - firmware upload progress codes * @FW_UPLOAD_PROG_IDLE: there is no firmware upload in progress * @FW_UPLOAD_PROG_RECEIVING: worker thread is receiving firmware data * @FW_UPLOAD_PROG_PREPARING: target device is preparing for firmware upload * @FW_UPLOAD_PROG_TRANSFERRING: data is being copied to the device * @FW_UPLOAD_PROG_PROGRAMMING: device is performing the firmware update * @FW_UPLOAD_PROG_MAX: Maximum progress code marker */ enum fw_upload_prog { … }; struct fw_upload_priv { … }; #endif /* __SYSFS_UPLOAD_H */