error compiling backports-3.14-1: too many arguments to function 'request_firmware_nowait'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,
when I try to compile backports-3.14-1 in a 2.6.30 kernel I get this error:

/root/modules/backports-3.14-1/drivers/net/wireless/ath/ath9k/init.c: In function 'ath9k_eeprom_request': /root/modules/backports-3.14-1/drivers/net/wireless/ath/ath9k/init.c:647: warning: passing argument 5 of 'request_firmware_nowait' makes pointer from integer without a cast /root/modules/backports-3.14-1/drivers/net/wireless/ath/ath9k/init.c:647: warning: passing argument 6 of 'request_firmware_nowait' from incompatible pointer type /root/modules/backports-3.14-1/drivers/net/wireless/ath/ath9k/init.c:647: error: too many arguments to function 'request_firmware_nowait' make[8]: *** [/root/modules/backports-3.14-1/drivers/net/wireless/ath/ath9k/init.o] Error 1 make[7]: *** [/root/modules/backports-3.14-1/drivers/net/wireless/ath/ath9k] Error 2 make[6]: *** [/root/modules/backports-3.14-1/drivers/net/wireless/ath] Error 2
make[5]: *** [/root/modules/backports-3.14-1/drivers/net/wireless] Error 2
make[4]: *** [_module_/root/modules/backports-3.14-1] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make: *** [default] Error 2

I saw that in backport-include/linux/firmware.h there is a pre-compiler directive to use the backport's version of request_firmware_nowait function:

#if defined(CPTCFG_BACKPORT_BUILD_FW_LOADER_MODULE)
#define request_firmware_nowait LINUX_BACKPORT(request_firmware_nowait)

But I haven't found where the CPTCFG_BACKPORT_BUILD_FW_LOADER_MODULE is defined.

I just ran:
make defconfig-ath9k
make

Am I missing a previous configuration step?

Thanks!
--
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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux