[alsa-devel] ASoC: codec jz4740: Failed to build for use of "‘devm_ioremap_resource" on branch "for-next"

Lin, Mengdong mengdong.lin at intel.com
Fri Jan 25 09:23:00 CET 2013


Hi,

I failed to build the branch “for-next”. Here is error information:
sound/soc/codecs/jz4740.c: In function ‘jz4740_codec_probe’:
sound/soc/codecs/jz4740.c:364:2: error: implicit declaration of function ‘devm_ioremap_resource’ [-Werror=implicit-function-declaration]
sound/soc/codecs/jz4740.c:364:7: warning: assignment makes pointer from integer without a cast [enabled by default]

It seems the newly introduced “devm_ioremap_resource” is to replace devm_request_and_ioremap().
But its definition are absent from the kernel. I cannot find where it’s defined, neither in device.h nor in io.h .


Thanks
Mengdong


More information about the Alsa-devel mailing list