[PATCH 12/12] ARM: tegra: Convert PMC to a driver
Arnd Bergmann
arnd at arndb.de
Wed Jul 16 08:22:03 PDT 2014
On Wednesday 16 July 2014 17:14:29 Thierry Reding wrote:
> >
> > Ok, I'll have a look. I think when this becomes a separate driver, it
> > should also have its own header file, so maybe you can in the meantime
> > make it a local header file in mach-tegra until we have found a good
> > place for it.
>
> Why do you think it should be a separate header? We already have a
> couple in include/linux and I'm not sure it's useful to add even more.
> If anything I would've thought it made sense to move the content of the
> other headers into tegra-soc.h.
I very much dislike the idea of having a per-vendor header file that
everything gets crammed into. We should try to have proper subsystems
and generic interfaces for these wherever possible.
Arnd
More information about the linux-arm-kernel
mailing list