Search Linux Wireless

Re: [RFC][PATCH] ssb: add place for serial flash driver

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

 



2012/12/26 Hauke Mehrtens <hauke@xxxxxxxxxx>:
> On 12/25/2012 07:23 PM, Rafał Miłecki wrote:
>> +#ifdef CONFIG_SSB_SFLASH
>> +struct ssb_sflash {
>> +     bool present;
>> +};
>> +#endif
>
> I assume you want to share some of the code for the serial flash driver
> between bcma and ssb. You should create a file with the structure in
> include/linux/platform_data/ and share that between bcma and ssb.

It's a small struct having about 5 trivial fields. We don't share
sturcts for any other drivers (chipcommon/mips/pcie) so I think they
should stay separated here as well.

Plus the mtd driver will have to implement bus abstraction anyway.

-- 
Rafał
--
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