Re: iio: at91_adc.c build error

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

 



On 10/28/2012 01:01 PM, Axel Lin wrote:
> hi Lars-Peter,
> 
> Seems there is no devm_kcalloc API available at this moment (in linux-next tree).
> 
> I got below build error:
> drivers/iio/adc/at91_adc.c: In function 'at91_adc_channel_init':
> drivers/iio/adc/at91_adc.c:126: error: implicit declaration of function 'devm_kcalloc'
> drivers/iio/adc/at91_adc.c:127: warning: assignment makes pointer from integer without a cast
> drivers/iio/adc/at91_adc.c: In function 'at91_adc_trigger_init':
> drivers/iio/adc/at91_adc.c:272: warning: assignment makes pointer from integer without a cast
> drivers/iio/adc/at91_adc.c: In function 'at91_adc_probe_dt':
> drivers/iio/adc/at91_adc.c:455: warning: assignment makes pointer from integer without a cast
> make[3]: *** [drivers/iio/adc/at91_adc.o] Error 1
> make[2]: *** [drivers/iio/adc] Error 2
> make[1]: *** [drivers/iio] Error 2
> make: *** [drivers] Error 2

Ok, now I feel stupid...

Do you want to sent a revert or should I do it?

- 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