19 Dec
2016
19 Dec
'16
12:04 p.m.
On Fri, Dec 16, 2016 at 10:36:07AM -0800, Darren Hart wrote:
My understanding is include/linux should be more generic, rather than platform specific headers. So while platform_data may refer specifically to the platform bus drivers, it's the closest thing we have to include/platform, which would be ideal. I would prefer to stick with include/platform_data because:
It's not specific to the platform bus, it's for use with the platform_data pointer embedded in struct device that all buses can have - it's extensively used for things like I2C and SPI for example. But really it doesn't matter *that* much.