[PATCH V2 1/3] mtd: bcm47xxsflash: keep a reference to the BCMA

Rafał Miłecki zajec5 at gmail.com
Wed Mar 6 06:08:53 EST 2013


2013/3/6 Artem Bityutskiy <dedekind1 at gmail.com>:
> On Wed, 2013-03-06 at 12:01 +0100, Rafał Miłecki wrote:
>> struct bcma_drv_cc;
>> +
>>  struct bcm47xxsflash {
>> +     union {
>> +             struct bcma_drv_cc *bcma_cc;
>> +     };
>
> Why union?

It's about adding support for different buses in the future (ssb) I
was describing in the other patch.

-- 
Rafał



More information about the linux-mtd mailing list