public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.26rc4 build error
@ 2008-05-28 15:05 Koen Kooi
  2008-05-28 15:43 ` Tony Lindgren
  0 siblings, 1 reply; 4+ messages in thread
From: Koen Kooi @ 2008-05-28 15:05 UTC (permalink / raw)
  To: linux-omap

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

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?

regards,

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

iD8DBQFIPXTZMkyGM64RGpERAsPJAJ9Wd5u9zTSvIFk+Js3S1aNJEzsLYACfX9aC
cXKA/AI1/ZjAldysMthnmPI=
=NaJu
-----END PGP SIGNATURE-----

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

* Re: 2.6.26rc4 build error
  2008-05-28 15:05 2.6.26rc4 build error Koen Kooi
@ 2008-05-28 15:43 ` Tony Lindgren
  2008-05-28 15:56   ` Koen Kooi
  2008-05-28 23:06   ` Koen Kooi
  0 siblings, 2 replies; 4+ messages in thread
From: Tony Lindgren @ 2008-05-28 15:43 UTC (permalink / raw)
  To: Koen Kooi; +Cc: linux-omap

Hi,

* Koen Kooi <k.kooi@student.utwente.nl> [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.

Based on the fact that it's at mach-omap2/mcbsp.o, I guess you're
trying out the unmerged mcbsp patches?

Tony

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

* Re: 2.6.26rc4 build error
  2008-05-28 15:43 ` Tony Lindgren
@ 2008-05-28 15:56   ` Koen Kooi
  2008-05-28 23:06   ` Koen Kooi
  1 sibling, 0 replies; 4+ messages in thread
From: Koen Kooi @ 2008-05-28 15:56 UTC (permalink / raw)
  To: linux-omap

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


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

> Hi,
>
> * Koen Kooi <k.kooi@student.utwente.nl> [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.
>
> Based on the fact that it's at mach-omap2/mcbsp.o, I guess you're
> trying out the unmerged mcbsp patches?

AFAIK they are still unmerged.

regards,

Koen

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

iD8DBQFIPYCgMkyGM64RGpERAolEAJkB8/mMCnHTPRhBNhTv5Wy8CLqPpwCdGRbO
KjGsI2FdfoVj8bcNF7qoCIM=
=62e1
-----END PGP SIGNATURE-----

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

* Re: 2.6.26rc4 build error
  2008-05-28 15:43 ` Tony Lindgren
  2008-05-28 15:56   ` Koen Kooi
@ 2008-05-28 23:06   ` Koen Kooi
  1 sibling, 0 replies; 4+ messages in thread
From: Koen Kooi @ 2008-05-28 23:06 UTC (permalink / raw)
  To: linux-omap

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


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

> Hi,
>
> * Koen Kooi <k.kooi@student.utwente.nl> [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-----

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

end of thread, other threads:[~2008-05-28 23:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-28 15:05 2.6.26rc4 build error Koen Kooi
2008-05-28 15:43 ` Tony Lindgren
2008-05-28 15:56   ` Koen Kooi
2008-05-28 23:06   ` Koen Kooi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox