diff options
| author | Scott Branden <[email protected]> | 2020-05-22 23:12:02 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-05-27 10:20:47 +0000 |
| commit | c2c076166b5880eabe068ce1cab30bf6edeeea1a (patch) | |
| tree | ec9ba1793d6edf4563003a28324e2f5ff3b0d9ac /drivers/base/firmware_loader/fallback_platform.c | |
| parent | software node: implement software_node_unregister() (diff) | |
| download | kernel-c2c076166b5880eabe068ce1cab30bf6edeeea1a.tar.gz kernel-c2c076166b5880eabe068ce1cab30bf6edeeea1a.zip | |
firmware_loader: change enum fw_opt to u32
"enum fw_opt" is not used as an enum.
Change fw_opt to u32 as FW_OPT_* values are OR'd together.
Signed-off-by: Scott Branden <[email protected]>
Acked-by: Luis Chamberlain <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/firmware_loader/fallback_platform.c')
| -rw-r--r-- | drivers/base/firmware_loader/fallback_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/firmware_loader/fallback_platform.c b/drivers/base/firmware_loader/fallback_platform.c index c88c745590fe..cdd2c9a9f38a 100644 --- a/drivers/base/firmware_loader/fallback_platform.c +++ b/drivers/base/firmware_loader/fallback_platform.c @@ -8,7 +8,7 @@ #include "fallback.h" #include "firmware.h" -int firmware_fallback_platform(struct fw_priv *fw_priv, enum fw_opt opt_flags) +int firmware_fallback_platform(struct fw_priv *fw_priv, u32 opt_flags) { const u8 *data; size_t size; |
