diff options
author | Bob Liu <lliubbo@gmail.com> | 2011-01-26 05:33:32 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-03 18:39:17 -0500 |
commit | 072fc8f0a8df9bf36392f15b729044cb2ad27332 (patch) | |
tree | 4e4fba1f8e36da34fcb44d015a217d1e2bb4c790 /include/linux/firmware.h | |
parent | 8ba6ebf583f12da32036fc0f003ab4043e54692e (diff) |
firmware_classs: change val uevent's type to bool
Some place in firmware_class.c using "int uevent" define, but others use "bool
uevent".
This patch replace all int uevent define to bool.
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Acked-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/firmware.h')
-rw-r--r-- | include/linux/firmware.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/firmware.h b/include/linux/firmware.h index 53d1e6c4f848..21b3e7588abd 100644 --- a/include/linux/firmware.h +++ b/include/linux/firmware.h | |||
@@ -39,7 +39,7 @@ struct builtin_fw { | |||
39 | int request_firmware(const struct firmware **fw, const char *name, | 39 | int request_firmware(const struct firmware **fw, const char *name, |
40 | struct device *device); | 40 | struct device *device); |
41 | int request_firmware_nowait( | 41 | int request_firmware_nowait( |
42 | struct module *module, int uevent, | 42 | struct module *module, bool uevent, |
43 | const char *name, struct device *device, gfp_t gfp, void *context, | 43 | const char *name, struct device *device, gfp_t gfp, void *context, |
44 | void (*cont)(const struct firmware *fw, void *context)); | 44 | void (*cont)(const struct firmware *fw, void *context)); |
45 | 45 | ||
@@ -52,7 +52,7 @@ static inline int request_firmware(const struct firmware **fw, | |||
52 | return -EINVAL; | 52 | return -EINVAL; |
53 | } | 53 | } |
54 | static inline int request_firmware_nowait( | 54 | static inline int request_firmware_nowait( |
55 | struct module *module, int uevent, | 55 | struct module *module, bool uevent, |
56 | const char *name, struct device *device, gfp_t gfp, void *context, | 56 | const char *name, struct device *device, gfp_t gfp, void *context, |
57 | void (*cont)(const struct firmware *fw, void *context)) | 57 | void (*cont)(const struct firmware *fw, void *context)) |
58 | { | 58 | { |