Use of drivers/platform and matching include?

Greg Kroah-Hartman gregkh at linuxfoundation.org
Thu Oct 3 11:27:15 EDT 2013


On Thu, Oct 03, 2013 at 09:45:38AM -0500, Kumar Gala wrote:
> As we look at upstreaming more support for the Qualcomm MSM SoCs there
> are a number of drivers or library like routines that are unique to
> the MSM platform, we are thinking that putting them under:
> 
> drivers/platform/qcom/

What type of drivers are these?  Shouldn't they really go under the
specific driver type directory instead?

> would make sense.  In addition there are headers that might need to
> get shared with drivers in other locations so I wanted to see what the
> take was on introducing:
> 
> include/linux/platform/qcom/
> 
> An example driver would be the means we utilize to communicate memory
> regions between various HW blocks on the SoC.  So a video/media core
> driver might need access to a header/functions from the memory region
> driver.

Isn't there arch-specific include directories already that are good for
stuff like this?

thanks,

greg k-h



More information about the linux-arm-kernel mailing list