1 #ifndef _LINUX_FIRMWARE_H
2 #define _LINUX_FIRMWARE_H
3 #include <linux/module.h>
4 #include <linux/types.h>
5 #define FIRMWARE_NAME_MAX 30
6 #define FW_ACTION_NOHOTPLUG 0
7 #define FW_ACTION_HOTPLUG 1
13 <<<<<<< HEAD
:include
/linux
/firmware
.h
16 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a
:include
/linux
/firmware
.h
18 <<<<<<< HEAD
:include
/linux
/firmware
.h
21 #if defined(CONFIG_FW_LOADER) || defined(CONFIG_FW_LOADER_MODULE)
22 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a
:include
/linux
/firmware
.h
23 int request_firmware(const struct firmware
**fw
, const char *name
,
24 struct device
*device
);
25 int request_firmware_nowait(
26 struct module
*module
, int uevent
,
27 const char *name
, struct device
*device
, void *context
,
28 void (*cont
)(const struct firmware
*fw
, void *context
));
30 void release_firmware(const struct firmware
*fw
);
31 <<<<<<< HEAD
:include
/linux
/firmware
.h
34 static inline int request_firmware(const struct firmware
**fw
,
36 struct device
*device
)
40 static inline int request_firmware_nowait(
41 struct module
*module
, int uevent
,
42 const char *name
, struct device
*device
, void *context
,
43 void (*cont
)(const struct firmware
*fw
, void *context
))
48 static inline void release_firmware(const struct firmware
*fw
)
53 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a
:include
/linux
/firmware
.h