All of lore.kernel.org
 help / color / mirror / Atom feed
* iio: at91_adc.c build error
@ 2012-10-28 12:01 Axel Lin
  2012-10-29  8:02 ` Lars-Peter Clausen
  0 siblings, 1 reply; 3+ messages in thread
From: Axel Lin @ 2012-10-28 12:01 UTC (permalink / raw)
  To: Lars-Peter Clausen; +Cc: Maxime Ripard, Jonathan Cameron, linux-iio

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

Regards,
Axel



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-29  8:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-28 12:01 iio: at91_adc.c build error Axel Lin
2012-10-29  8:02 ` Lars-Peter Clausen
2012-10-29  8:09   ` Axel Lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.