[PATCH] ARM: pxa: fix the building failue on saar

Haojian Zhuang hzhuang1 at marvell.com
Fri Nov 5 04:22:14 EDT 2010



>-----Original Message-----
>From: Eric Miao [mailto:eric.y.miao at gmail.com]
>Sent: 2010年11月5日 12:02 AM
>To: Uwe Kleine-König
>Cc: Haojian Zhuang; linux-arm-kernel at lists.infradead.org
>Subject: Re: [PATCH] ARM: pxa: fix the building failue on saar
>
>2010/11/4 Uwe Kleine-König <u.kleine-koenig at pengutronix.de>:
>> Hello,
>>
>> On Thu, Nov 04, 2010 at 10:53:21PM +0800, Haojian Zhuang wrote:
>>> Since CONFIG_FB_PXA_SMARTPANEL is introduced and it's depend on
>CONFIG_FB_PXA.
>>> We can't compile CONFIG_FB_PXA as module.
>> I don't know if choosing CONFIG_FB_PXA=m without
>> CONFIG_FB_PXA_SMARTPANEL makes sense.  If yes, just letting
>> CONFIG_FB_PXA_SMARTPANEL depend on CONFIG_FB_PXA=y should work.
>>
>> If this doesn't work (e.g. because arch/arm/mach-pxa/saar.c calls
>> functions that are only available in the fb_pxa kernel module) there is
>> no need to talk about CONFIG_FB_PXA_SMARTPANEL in the commit log, this
>> only confuses the readers.
>>
>
>Haojian,
>
>I don't like the Kconfig change to make FB_PXA non-tristate as well.
>Please see if there's better solution.
>
>> Best regards
>> Uwe
>>
>> --
>> Pengutronix e.K.                           | Uwe Kleine-König            |
>> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
>>

OK. Now I let saar and tavorevb depend on FB_PXA.

Thanks
Haojian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ARM-pxa-fix-build-failure-in-saar-and-tavor.patch
Type: application/octet-stream
Size: 1477 bytes
Desc: 0001-ARM-pxa-fix-build-failure-in-saar-and-tavor.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20101105/99e1d9e6/attachment.obj>


More information about the linux-arm-kernel mailing list