[PATCH] Make MMCI driver compile without gpiolib

From
Linus Walleij <hidden>
Date
2009-09-28 19:00:01
Reply to
Russell King - ARM Linux, 2009-09-27
Hm thinking back at this:

2009/9/27 Russell King - ARM Linux [off-list ref]:
The real problem is that U300 doesn't implement gpio_is_valid() -
which is part of the GPIO API and not specific to GPIOLIB.
None of the GPIO drivers in drivers/gpio implement gpio_is_valid()
though they all select GPIOLIB which in turn selects GENERIC_GPIO.

With one of them being the PL061 this means that the not so
unlikely combination of PL061+PL180 will fail to compile (even
though I'm not aware of such a platform for the time being).

Is it worth taking a run over drivers/gpio and try to fix this or
atleast the PL061 driver? I can have a look at it.

Yours,
Linus Walleij
Thread (6 messages) 6 messages, 4 authors, last reply 2009-09-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help