Re: 2.6.26rc4 build error

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Op 28 mei 2008, om 17:43 heeft Tony Lindgren het volgende geschreven:

Hi,

* Koen Kooi <k.kooi@xxxxxxxxxxxxxxxxxx> [080528 08:06]:
Hi,

I tried building git HEAD today to get some 2.6.26rc4 goodness, but
stumpled upon:

  CC      arch/arm/mach-omap2/mcbsp.o
arch/arm/mach-omap2/mcbsp.c:78: error: implicit declaration of
function 'IO_ADDRESS'
arch/arm/mach-omap2/mcbsp.c:78: error: initializer element is not
constant
arch/arm/mach-omap2/mcbsp.c:78: error: (near initialization for
'omap2_mcbsp_pdata[0].virt_base')
arch/arm/mach-omap2/mcbsp.c:87: error: initializer element is not
constant
arch/arm/mach-omap2/mcbsp.c:87: error: (near initialization for
'omap2_mcbsp_pdata[1].virt_base')

I suspect that's caused by Eduardos "MCBSP: Tranform into platform
driver" patches and 0001-ASoC-OMAP-Add-basic-support-for-OMAP34xx-in-
McBSP.patch

Does anyone have updated patches for those?

Sounds like you need to #include <linux/io.h> from mcbsp.c.

That indeed fixed the compile error, and even better: it was the only error :)

regards,

Koen

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFIPeWFMkyGM64RGpERAsM7AKCn9Sh7k7Rh0mX2iFpkWWQDYZR0cwCdEHgW
MIIspt3BbVY+Ssjv2IaYkVA=
=lXyi
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux