linux-next-20110831 build failure in iwlwifi when IWLWIFI_DEBUGFS not set
Subsystems (2)
Build error in linux-next 20110831:
drivers/built-in.o: In function `iwl_irq_handle_error':
iwl-trans-rx-pcie.c:(.text+0x100ee9): undefined reference to iwl_dump_csr' iwl-trans-rx-pcie.c:(.text+0x100ef5): undefined reference to iwl_dump_fh'
Calling site is iwl-trans-rx-pcie.c, function iwl_irq_handle_error.
The functions are in iwl-trans.c, but hidden behind #ifdef CONFIG_IWLWIFI_DEBUGFS so if that isn't defined, they don't get built. The call site already has an IWLWIFI_DEBUG ifdef, looks like iwl_irq_handle_error() needs some tender loving restructuring.