request_firmware_direct() was newly added and in some places it is better to use request_firmware_direct(), but request_firmware() will also work and result in 60 seconds waiting if the file is not there in some situations. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- backport/backport-include/linux/firmware.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 backport/backport-include/linux/firmware.h diff --git a/backport/backport-include/linux/firmware.h b/backport/backport-include/linux/firmware.h new file mode 100644 index 0000000..4635512 --- /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 */ -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html