# \[PATCH, RFC 10/22\] mfd: ab8500: debugfs code depends on gpadc

- From: Arnd Bergmann \<arnd@arndb.de\>
- Date: 2013-05-02 16:24:27 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2013/05/4042984
- Thread: https://ratatoskr.run/linux-arm-kernel/2013/05/4042941/t.md

```text
On Thursday 02 May 2013, Lee Jones wrote:
> > @@ -580,7 +580,7 @@ config AB8500_CORE
> >  
> >  config AB8500_DEBUG
> >         bool "Enable debug info via debugfs"
> > -       depends on AB8500_CORE && DEBUG_FS
> > +       depends on AB8500_GPADC && DEBUG_FS
> >         default y if DEBUG_FS
> >         help
> >           Select this option if you want debug information using the debug
> 
> Did you find this with ALLCONFIG out of interest.

I used "make randconfig" with this KCONFIG_ALLCONFIG file:

CONFIG_MMU=y
CONFIG_ARCH_MULTI_V7=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_PROC_FS=y
 
> Applied by the way.

Thanks!

	Arnd
```
