Re: [PATCH 2/2] arm: omap: ehci: avoid compiler error with touchbook

Felipe Balbi
2010-03-05T07:04:21Z

On Thu, Mar 04, 2010 at 08:15:27PM +0100, ext me@felipebalbi.com wrote:
>Hi,
>
>On Thu, 4 Mar 2010 18:33:15 +0530, "Gadiyar, Anand" <gadiyar@ti.com>
>wrote:
>>> This patch fixes that for the ehci_hdc_omap_platform_data.
>>>
>>
>> should be ehci_hcd_omap_platform_data ;)
>>
>> BTW, this breaks compile for omap3-evm.
>> Could you please build with omap3_defconfig and check.
>
>will do first thing tomorrow :-)

yeah, it breaks because evm tries to assign to a (now) const variable.
Maybe the only way is to move everybody out of the __initconst section
and put them on __initdata.

or we drop the revision check for EVM and use only the newer one, I'm
more into doing the first one.

Tony, do you have any comments ??

--
balbi