Re: [PATCH 2/2] iio: Add new driver dht11-gpio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/22/2013 11:28 PM, Harald Geyer wrote:
> Replying to both of your mails in one message here:
> 
>>>> +config DHT11_GPIO
>>>> +   tristate "DHT11 (and compatible sensors) driver"
>>>> +   help
>>>> +     This driver supports reading data via a single interrupts
>>
>> should probably depend on GENERIC_GPIO?
> 
> After thinking about this a bit, I believe a dependency on
> OF_GPIO is necessary. Maybe also add an explicit dependency
> on GPIOLIB?

The of_gpio calls are stubbed out if OF_GPIO is not selected. So there is no
need to add the dependency and not having the dependency makes compile
testing easier on platforms which e.g. do not support OF. But the
GENERIC_GPIO symbol got removed recently, since everybody is using GPIOLIB
these days. So that's the right symbol to depend on.

- Lars
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux