Re: [PATCH 3/4] staging:iio:triggers:interrupt trigger - one per platform device.

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

 




Lars-Peter Clausen <lars@xxxxxxxxxx> wrote:

>[...]
>>  
>> @@ -39,57 +36,48 @@ static const struct iio_trigger_ops
>iio_interrupt_trigger_ops = {
>>  static int iio_interrupt_trigger_probe(struct platform_device *pdev)
>>  {
>>  	struct iio_interrupt_trigger_info *trig_info;
>> -	struct iio_trigger *trig, *trig2;
>> +	struct iio_trigger *trig;
>>  	unsigned long irqflags;
>>  	struct resource *irq_res;
>>  	int irq, ret = 0, irq_res_cnt = 0;
>>  [...]
>> +	irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, irq_res_cnt);
>
>irq_res_cnt is always zero.

Oops. Thanks
>
>> [...]
>--
>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

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
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