lkml.org 
[lkml]   [2011]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 2/6] ASoC: codecs: AK4641 depends on GPIOLIB
    Date
    On Sunday 02 October 2011 21:41:07 Mark Brown wrote:
    > On Sun, Oct 02, 2011 at 10:28:00PM +0200, Arnd Bergmann wrote:
    > > This driver only builds correctly on platforms that use
    > > GPIOLIB. Disable it otherwise.
    >
    > No, gpiolib is one implementation of the GPIO API but if platforms want
    > to go and define their own that's currently OK (personally I think at
    > this point we should just be converting all the stragglers over to
    > gpiolib). As things stand we shouldn't have dependencies on a
    > particular implementation of the API.

    Thanks for the explanation!

    Is there any other symbol that I can test then?

    I noticed that a lot of places use 'depends on GPIOLIB' or
    '#ifdef CONFIG_GPIOLIB', are those usually wrong, too?

    Arnd


    \
     
     \ /
      Last update: 2011-10-02 22:57    [W:0.020 / U:32.068 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site