diff options
Diffstat (limited to 'drivers/base/firmware_loader/fallback.h')
-rw-r--r-- | drivers/base/firmware_loader/fallback.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/base/firmware_loader/fallback.h b/drivers/base/firmware_loader/fallback.h index f8255670a663..a3b73a09db6c 100644 --- a/drivers/base/firmware_loader/fallback.h +++ b/drivers/base/firmware_loader/fallback.h | |||
@@ -5,6 +5,8 @@ | |||
5 | #include <linux/firmware.h> | 5 | #include <linux/firmware.h> |
6 | #include <linux/device.h> | 6 | #include <linux/device.h> |
7 | 7 | ||
8 | #include "firmware.h" | ||
9 | |||
8 | /** | 10 | /** |
9 | * struct firmware_fallback_config - firmware fallback configuration settings | 11 | * struct firmware_fallback_config - firmware fallback configuration settings |
10 | * | 12 | * |
@@ -31,7 +33,7 @@ struct firmware_fallback_config { | |||
31 | #ifdef CONFIG_FW_LOADER_USER_HELPER | 33 | #ifdef CONFIG_FW_LOADER_USER_HELPER |
32 | int fw_sysfs_fallback(struct firmware *fw, const char *name, | 34 | int fw_sysfs_fallback(struct firmware *fw, const char *name, |
33 | struct device *device, | 35 | struct device *device, |
34 | unsigned int opt_flags, | 36 | enum fw_opt opt_flags, |
35 | int ret); | 37 | int ret); |
36 | void kill_pending_fw_fallback_reqs(bool only_kill_custom); | 38 | void kill_pending_fw_fallback_reqs(bool only_kill_custom); |
37 | 39 | ||
@@ -43,7 +45,7 @@ void unregister_sysfs_loader(void); | |||
43 | #else /* CONFIG_FW_LOADER_USER_HELPER */ | 45 | #else /* CONFIG_FW_LOADER_USER_HELPER */ |
44 | static inline int fw_sysfs_fallback(struct firmware *fw, const char *name, | 46 | static inline int fw_sysfs_fallback(struct firmware *fw, const char *name, |
45 | struct device *device, | 47 | struct device *device, |
46 | unsigned int opt_flags, | 48 | enum fw_opt opt_flags, |
47 | int ret) | 49 | int ret) |
48 | { | 50 | { |
49 | /* Keep carrying over the same error */ | 51 | /* Keep carrying over the same error */ |