diff options
Diffstat (limited to 'include/linux/firmware.h')
-rw-r--r-- | include/linux/firmware.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/firmware.h b/include/linux/firmware.h index 41050417cafb..2dd566c91d44 100644 --- a/include/linux/firmware.h +++ b/include/linux/firmware.h | |||
@@ -42,6 +42,8 @@ struct builtin_fw { | |||
42 | #if defined(CONFIG_FW_LOADER) || (defined(CONFIG_FW_LOADER_MODULE) && defined(MODULE)) | 42 | #if defined(CONFIG_FW_LOADER) || (defined(CONFIG_FW_LOADER_MODULE) && defined(MODULE)) |
43 | int request_firmware(const struct firmware **fw, const char *name, | 43 | int request_firmware(const struct firmware **fw, const char *name, |
44 | struct device *device); | 44 | struct device *device); |
45 | int firmware_request_nowarn(const struct firmware **fw, const char *name, | ||
46 | struct device *device); | ||
45 | int request_firmware_nowait( | 47 | int request_firmware_nowait( |
46 | struct module *module, bool uevent, | 48 | struct module *module, bool uevent, |
47 | const char *name, struct device *device, gfp_t gfp, void *context, | 49 | const char *name, struct device *device, gfp_t gfp, void *context, |
@@ -59,6 +61,14 @@ static inline int request_firmware(const struct firmware **fw, | |||
59 | { | 61 | { |
60 | return -EINVAL; | 62 | return -EINVAL; |
61 | } | 63 | } |
64 | |||
65 | static inline int firmware_request_nowarn(const struct firmware **fw, | ||
66 | const char *name, | ||
67 | struct device *device) | ||
68 | { | ||
69 | return -EINVAL; | ||
70 | } | ||
71 | |||
62 | static inline int request_firmware_nowait( | 72 | static inline int request_firmware_nowait( |
63 | struct module *module, bool uevent, | 73 | struct module *module, bool uevent, |
64 | const char *name, struct device *device, gfp_t gfp, void *context, | 74 | const char *name, struct device *device, gfp_t gfp, void *context, |