On Tue, Oct 25, 2011 at 10:23:48AM +0200, Marc Dietrich wrote: > 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 >
Don't do this. > b) create some standalone file in > include/linux/platform_data/tegra_nvec.h with > just the platform data inside > Sounds good. It's just the struct definitions that you need yes? regards, dan carpenter
signature.asc
Description: Digital signature
_______________________________________________ devel mailing list [email protected] http://driverdev.linuxdriverproject.org/mailman/listinfo/devel
