summaryrefslogtreecommitdiff
path: root/include/linux/firmware.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2021-04-25 05:00:24 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-13 17:14:45 +0300
commit0733d83905326baef3c25d8bd9a96fdc9eb71b86 (patch)
treebd8d3e3d7992743e35dc40d6dd1ee13eb861d424 /include/linux/firmware.h
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
downloadlinux-0733d83905326baef3c25d8bd9a96fdc9eb71b86.tar.xz
firmware: replace HOTPLUG with UEVENT in FW_ACTION defines
With commit 312c004d36ce ("[PATCH] driver core: replace "hotplug" by "uevent"") already in the tree over a decade, update the name of FW_ACTION defines to follow semantics, and reflect what the defines are really meant for, i.e. whether or not generate user space event. Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Link: https://lore.kernel.org/r/20210425020024.28057-1-shawn.guo@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/firmware.h')
-rw-r--r--include/linux/firmware.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/firmware.h b/include/linux/firmware.h
index 84e346ae766e..25109192cebe 100644
--- a/include/linux/firmware.h
+++ b/include/linux/firmware.h
@@ -6,8 +6,8 @@
#include <linux/compiler.h>
#include <linux/gfp.h>
-#define FW_ACTION_NOHOTPLUG 0
-#define FW_ACTION_HOTPLUG 1
+#define FW_ACTION_NOUEVENT 0
+#define FW_ACTION_UEVENT 1
struct firmware {
size_t size;