[PATCH 27/47] headers: Add FW_ACTION_NOUEVENT and FW_ACTION_UEVENT
Hauke Mehrtens <[email protected]>
| Newsgroups | org.kernel.vger.backports |
|---|---|
| Message-ID | <[email protected]> |
FW_ACTION_NOHOTPLUG and FW_ACTION_HOTPLUG were renamed to FW_ACTION_NOUEVENT and FW_ACTION_UEVENT in kernel 5.14. Signed-off-by: Hauke Mehrtens <[email protected]> --- backport/backport-include/linux/firmware.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/backport/backport-include/linux/firmware.h b/backport/backport-include/linux/firmware.h index 7d41637c..c12ce98c 100644 --- a/backport/backport-include/linux/firmware.h +++ b/backport/backport-include/linux/firmware.h @@ -14,4 +14,12 @@ static inline int firmware_request_cache(struct device *device, const char *name } #endif +#ifndef FW_ACTION_NOUEVENT +#define FW_ACTION_NOUEVENT FW_ACTION_NOHOTPLUG +#endif + +#ifndef FW_ACTION_UEVENT +#define FW_ACTION_UEVENT FW_ACTION_HOTPLUG +#endif + #endif /* __BACKPORT_LINUX_FIRMWARE_H */ -- 2.30.2 -- To unsubscribe from this list: send the line "unsubscribe backports" in