Re: linux-next: Tree for March 24 (staging/vt66*)

From: Randy Dunlap
Date: Thu Mar 25 2010 - 11:38:36 EST


On 03/25/10 06:00, Forest Bond wrote:
> Hi,
>
> On Wed, Mar 24, 2010 at 12:44:08PM -0700, Randy Dunlap wrote:
>> On 03/23/10 22:17, Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> Changes since 20100323:
>>
>>
>>
>> (.text+0x5d140): multiple definition of `hostap_set_hostapd'
>> (.text+0x5ccab): multiple definition of `hostap_ioctl'
>>
>> when
>> CONFIG_HOSTAP=y
>> and
>> CONFIG_VT665[56]=y
>>
>> or just both of the latter are =y.
>
> Is there any way to limit CONFIG_VT665[56] to ("n", "m")? That would be
> sufficient as a work-around, right?

A driver can be limited to [nm] by adding:
depends on m

> Or is it preferable to rename the offending functions?

Yes, it's preferable to rename them.

--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/