Commit id
182630e0f686a569aaf9b34781b08f27dc0ab1bb was causing missing symbol
error on load time for cxgb3/cxgb4 module. This commit adds additional check to
avoid the issue.
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
#include <linux/input.h>
#include <linux/sched.h>
+#if defined(CONFIG_COMPAT_FIRMWARE_CLASS)
#if defined(CONFIG_FW_LOADER) || defined(CONFIG_FW_LOADER_MODULE)
#define release_firmware compat_release_firmware
#define request_firmware compat_request_firmware
#define request_firmware_nowait compat_request_firmware_nowait
#endif
+#endif
#if defined(CONFIG_FW_LOADER) || defined(CONFIG_FW_LOADER_MODULE)
int compat_request_firmware(const struct firmware **fw, const char *name,