]> git.baikalelectronics.ru Git - kernel.git/commit
wimax: fix build issue when debugfs is disabled
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Fri, 30 Jan 2009 01:18:31 +0000 (17:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Jan 2009 01:18:31 +0000 (17:18 -0800)
commit45beaae085475e4384171552f9b621a0981e1b3d
tree1086b11d6c0a4f048114656d95fff7f0bc424e99
parent02c9dce285e0a7cc7c33d02c86350124451bedf1
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>
drivers/net/wimax/i2400m/debugfs.c
drivers/net/wimax/i2400m/driver.c
net/wimax/debugfs.c
net/wimax/stack.c