Search Linux Wireless

Re: [PATCH] bcma: populate bus DT subnodes as platform_device-s

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

 



On 25 July 2015 at 20:55, Hauke Mehrtens <hauke@xxxxxxxxxx> wrote:
> On 07/24/2015 06:11 PM, Joachim Eastwood wrote:
>> On 23 July 2015 at 08:06, Kalle Valo <kvalo@xxxxxxxxxxxxxx> wrote:
>>> Rafał Miłecki <zajec5@xxxxxxxxx> writes:
>>>
>>>>> +       if (bus->host_pdev) {
>>>>> +               struct device *dev = &bus->host_pdev->dev;
>>>>> +
>>>>> +               of_platform_populate(dev->of_node, of_default_bus_match_table,
>>>>> +                                    NULL, dev);
>>>>> +       }
>>>>> +
>>>>
>>>> This caused a compile error when using bcma as module:
>>>> ERROR: "of_default_bus_match_table" [drivers/bcma/bcma.ko] undefined!
>>
>> I encountered the same problem with my modular memory controller driver.
>>
>>>> There are two options I guess:
>>>> 1) Export of_default_bus_match_table
>>
>> See link below for Rob Herring's take on that.
>> http://marc.info/?l=linaro-kernel&m=143766694414121&w=2
>>
>>
>> regards,
>> Joachim Eastwood
>>
> Hi Joachim,
>
> are you working on a patch which exports "of_default_bus_match_table"
> or provides a wrapper function? If not then I will look into this.

Not really, so if you could take it that would be great. Thanks.

regards,
Joachim Eastwood
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux