using headers for platform device outside of the staging tree
Marc Dietrich
marvin24 at gmx.de
Tue Oct 25 08:23:48 UTC 2011
Hi Greg,
i like to use the nvec driver with an arm soc board. What's the "usual" way to get
access to the platform data (in nvec.h)? I see three options:
a) just add #include "../../../drivers/staging/nvec/nvec.h" to the board file as
long as the driver is still in staging and update it after the driver got blessed
b) create some standalone file in include/linux/platform_data/tegra_nvec.h with
just the platform data inside
c) don't try to include a staging driver in a mainline file (well, that's the
worst option)
Any hints?
Thanks
Marc
More information about the devel
mailing list