diff options
Diffstat (limited to 'backport/backport-include')
-rw-r--r-- | backport/backport-include/linux/firmware.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/backport/backport-include/linux/firmware.h b/backport/backport-include/linux/firmware.h new file mode 100644 index 00000000..46355124 --- /dev/null +++ b/backport/backport-include/linux/firmware.h @@ -0,0 +1,9 @@ +#ifndef __BACKPORT_LINUX_FIRMWARE_H +#define __BACKPORT_LINUX_FIRMWARE_H +#include_next <linux/firmware.h> + +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,14,0) +#define request_firmware_direct(fw, name, device) request_firmware(fw, name, device) +#endif + +#endif /* __BACKPORT_LINUX_FIRMWARE_H */ |