[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120420053014.GK22219@S2101-09.ap.freescale.net>
Date: Fri, 20 Apr 2012 13:30:17 +0800
From: Shawn Guo <shawn.guo@...aro.org>
To: Wolfram Sang <w.sang@...gutronix.de>
Cc: Dong Aisheng <aisheng.dong@...escale.com>,
Huang Shijie <b32955@...escale.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH V2 1/3] lib: add support for stmp-style devices
On Wed, Apr 18, 2012 at 11:20:19AM +0200, Wolfram Sang wrote:
> > If not, i guess include/linux/fsl which already exists may be the
> > right place.
>
> Which is a bad choice in my book. linux/dma would have been the proper
> thing for mxs-dma.h, I'd think.
>
If it already exists, it will be the proper place. We do not want to
be too invasive to create folders in include/linux for every subsystem
for only the need of fsl drivers.
On the other hand, I have seen a clear need for include/linux/fsl.
The following files are all good candidates to be moved there.
include/linux/fsl_devices.h
include/linux/fsl-diu-fb.h
include/linux/fsl_hypervisor.h
IMO, include/linux/stmp_device.h is just another good candidate.
Oh, today I was asked by Fabio where is the good place for ssp-regs.h
which will be shared by mxs-mmc and spi-mxs, as we are cleaning up
<mach/*> from drivers. I told him include/linux/fsl.
--
Regards,
Shawn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists