[PATCH] efs: Remove incorrect unlock_kernel from failure path in efs_symlink_readpage()
[linux-2.6.git] / include / linux / firmware.h
blob33d8f2087b6ea92557c6497a605e3f925e7700e4
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
9 struct firmware {
10 size_t size;
11 u8 *data;
13 struct device;
14 int request_firmware(const struct firmware **fw, const char *name,
15 struct device *device);
16 int request_firmware_nowait(
17 struct module *module, int uevent,
18 const char *name, struct device *device, void *context,
19 void (*cont)(const struct firmware *fw, void *context));
21 void release_firmware(const struct firmware *fw);
22 #endif