RE: [PATCH] Staging: IIO: ADC: New driver for AD7606/AD7606-6/AD7606-4

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

 



Greg KH wrote on 2011-02-10:
> On Wed, Feb 09, 2011 at 01:07:18PM +0100, michael.hennerich@xxxxxxxxxx
> wrote:
>> From: Michael Hennerich <michael.hennerich@xxxxxxxxxx>
>>
>> This patch adds support for the:
>> AD7606/AD7606-6/AD7606-4 8/6/4-Channel Data Acquisition system (DAS)
>> with 16-Bit, Bipolar, Simultaneous Sampling ADC.
>>
>> Changes since V1:
>> IIO: ADC: New driver for AD7606/AD7606-6/AD7606-4: Apply review
>> feedback
>>
>> Rename sysfs node oversampling to oversampling_ratio.
>> Kconfig: Add GPIOLIB dependency.
>> Use range in mV to better match HWMON.
>> Rename ad7606_check_oversampling.
>> Fix various comments and style.
>> Reorder is_visible cases.
>> Use new gpio_request_one/array and friends.
>> Drop check for SPI max_speed_hz.
>>
>> Changes since V2:
>> IIO: ADC: New driver for AD7606/AD7606-6/AD7606-4: Apply review
>> feedback
>>
>> Documentation: specify unit
>> Avoid raise condition in ad7606_scan_direct() Check return value of
>> bus ops read_block()
>
> This patch fails to build here:
>
> drivers/staging/iio/adc/ad7606_core.c: In function âad7606_scan_directâ:
> drivers/staging/iio/adc/ad7606_core.c:47:8: error: âTASK_INTERRUPTIBLEâ
> undeclared (first use in this function)
> drivers/staging/iio/adc/ad7606_core.c:47:8: note: each undeclared
> identifier is reported only once for each function it appears in
> drivers/staging/iio/adc/ad7606_core.c:47:2: error: implicit declaration
> of function âsignal_pendingâ drivers/staging/iio/adc/ad7606_core.c:47:2:
> error: implicit declaration of function âscheduleâ
> drivers/staging/iio/adc/ad7606_core.c: In function âad7606_interruptâ:
> drivers/staging/iio/adc/ad7606_core.c:400:3: error: âTASK_INTERRUPTIBLEâ
> undeclared (first use in this function) make[4]: ***
> [drivers/staging/iio/adc/ad7606_core.o] Error 1
>
>
> Care to actually test build it next time?  :(

Hi Greg,

Believe it or not - I tested this patch and it builds just fine on the arch I'm using.
Guess some arch specific header includes linux/sched.h.

Before submitting, will build test things on x86 in futures as well.

Greetings,
Michael

--
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368; Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin, Margaret Seif

ÿô.nlj·Ÿ®‰­†+%ŠË±é¥Šwÿº{.nlj·¥Š{±þ(¨þ)íèjg¬±¨¶‰šŽŠÝjÿ¾«þG«é¸¢·¦j:+v‰¨Šwèm¶Ÿÿþø®w¥þŠà£¢·hšâÿ†Ù



[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