From: Axel Lin <axel.lin@ingics.com>
To: Lars-Peter Clausen <lars@metafoo.de>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>,
Jonathan Cameron <jic23@kernel.org>,
linux-iio@vger.kernel.org
Subject: iio: at91_adc.c build error
Date: Sun, 28 Oct 2012 20:01:26 +0800 [thread overview]
Message-ID: <1351425686.12461.1.camel@phoenix> (raw)
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
next reply other threads:[~2012-10-28 12:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-28 12:01 Axel Lin [this message]
2012-10-29 8:02 ` iio: at91_adc.c build error Lars-Peter Clausen
2012-10-29 8:09 ` Axel Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1351425686.12461.1.camel@phoenix \
--to=axel.lin@ingics.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=maxime.ripard@free-electrons.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox