lkml.org 
[lkml]   [2013]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2] gpio: devm_gpio_* support should not depend on GPIOLIB
From
On Mon, Feb 11, 2013 at 5:50 PM, Max Filippov <jcmvbkbc@gmail.com> wrote:

> FWIW I see that the issue is caused by building drivers/gpio/devres.c
> with CONFIG_GPIOLIB=n. Should I just turn GPIO_DEVRES off too?

Hm. Shawn just added:

+config GPIO_DEVRES
+ def_bool y
+ depends on HAS_IOMEM

Can you please patch the last line like so:

depends on (HAS_IOMEM && GPIOLIB)

I think that's the actual problem... Maybe also move this
config option below the GPIOLIB entry. Or move it under
the #if GPIOLIB even.

Can you send a patch that works for you?

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2013-02-12 14:01    [W:0.045 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site