WSL2-Linux-Kernel/net/wimax
Inaky Perez-Gonzalez 1af7ad5104 wimax: fix build issue when debugfs is disabled
As reported by Toralf Förster and Randy Dunlap.

- http://linuxwimax.org/pipermail/wimax/2009-January/000460.html

- http://lkml.org/lkml/2009/1/29/279

The definitions needed for the wimax stack and i2400m driver debug
infrastructure was, by mistake, compiled depending on CONFIG_DEBUG_FS
(by them being placed in the debugfs.c files); thus the build broke in
2.6.29-rc3 when debugging was enabled (CONFIG_WIMAX_DEBUG) and
DEBUG_FS was disabled.

These definitions are always needed if debug is enabled at compile
time (independently of DEBUG_FS being or not enabled), so moving them
to a file that is always compiled fixes the issue.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-01-29 17:18:31 -08:00
..
Kconfig wimax: fix kconfig interactions with rfkill and input layers 2009-01-08 11:07:36 -08:00
Makefile wimax: Makefile, Kconfig and docbook linkage for the stack 2009-01-07 10:00:17 -08:00
debug-levels.h wimax: debug macros and debug settings for the WiMAX stack 2009-01-07 10:00:17 -08:00
debugfs.c wimax: fix build issue when debugfs is disabled 2009-01-29 17:18:31 -08:00
id-table.c wimax: fix '#ifndef CONFIG_BUG' layout to avoid warning 2009-01-08 11:06:48 -08:00
op-msg.c wimax: basic API: kernel/user messaging, rfkill and reset 2009-01-07 10:00:17 -08:00
op-reset.c wimax: basic API: kernel/user messaging, rfkill and reset 2009-01-07 10:00:17 -08:00
op-rfkill.c wimax: testing for rfkill support should also test for CONFIG_RFKILL_MODULE 2009-01-08 11:08:01 -08:00
stack.c wimax: fix build issue when debugfs is disabled 2009-01-29 17:18:31 -08:00
wimax-internal.h wimax: internal API for the kernel space WiMAX stack 2009-01-07 10:00:16 -08:00