Changeset 381 for GPL/branches/uniaud32-2.0/include/linux/firmware.h
- Timestamp:
- Sep 27, 2008, 11:09:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-2.0/include/linux/firmware.h
r305 r381 1 1 #ifndef _LINUX_FIRMWARE_H 2 2 #define _LINUX_FIRMWARE_H 3 #define FIRMWARE_NAME_MAX 30 3 #include <linux/module.h> 4 #include <linux/types.h> 5 #define FIRMWARE_NAME_MAX 30 6 struct firmware { 7 size_t size; 8 u8 *data; 9 }; 10 struct device; 11 int request_firmware(const struct firmware **fw, const char *name, 12 struct device *device); 13 int request_firmware_nowait( 14 struct module *module, 15 const char *name, struct device *device, void *context, 16 void (*cont)(const struct firmware *fw, void *context)); 4 17 5 struct firmware { 6 unsigned int size; 7 unsigned char *data; 8 }; 9 10 int snd_compat_request_firmware(const struct firmware **fw, const char *name); 11 void snd_compat_release_firmware(const struct firmware *fw); 12 13 #define request_firmware(fw, name, device) snd_compat_request_firmware(fw, name) 14 #define release_firmware(fw) snd_compat_release_firmware(fw) 15 16 #define NEEDS_COMPAT_FW_LOADER 17 18 void release_firmware(const struct firmware *fw); 19 void register_firmware(const char *name, const u8 *data, size_t size); 18 20 #endif
Note:
See TracChangeset
for help on using the changeset viewer.