]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: add #ifdef CONFIG_DEBUG_FS guard for ab8500_debug_resources
authorAxel Lin <axel.lin@gmail.com>
Thu, 10 Nov 2011 01:56:18 +0000 (09:56 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 20 Dec 2011 17:53:25 +0000 (18:53 +0100)
commit86f179bc74c03aa208dabdd22f1f278e150baa03
tree77e695d915b2f2b76dcc20c5be067cf410d834d6
parent20598e6be7d2072a5ef8d740695ec0f41ed1f1a0
mfd: add #ifdef CONFIG_DEBUG_FS guard for ab8500_debug_resources

Fix below build warning if CONFIG_DEBUG_FS is disabled.

  CC      drivers/mfd/ab8500-core.o
drivers/mfd/ab8500-core.c:623: warning: 'ab8500_debug_resources' defined but not used

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab8500-core.c