Initial Linux-wireless contribution
Eugene Krasnikov
k.eugene.e at gmail.com
Tue Aug 6 09:12:04 EDT 2013
What i was trying to say is that now struck looks like this:
struct wcn36xx_platform_data {
struct device *dev;
/* IRQs */
int tx_irq;
int rx_irq;
void __iomem *mmio;
};
dev will be received through probe's parameter.
tx_irq, rx_irq and mmio will be received through
platform_get_resource_byname. So then this struct can be removed
completely:)
2013/8/6 Kalle Valo <kvalo at qca.qualcomm.com>:
> Eugene Krasnikov <k.eugene.e at gmail.com> writes:
>
>>> wcn36xx_msm is just a temporary module, the proper way to manage this to
>>> do it in the board files (arch/arm/mach-*). And they do not know when
>>> wcn36xx is loaded or removed so the board files would need to always do
>>> the resource allocation during boot.
>>
>> Agree about allocation. Then struct wcn36xx_platform_data is not
>> needed at all, what is good.
>
> Sorry, I got lost with your comments here.
>
> --
> Kalle Valo
--
Best regards,
Eugene
More information about the wcn36xx
mailing list