[RFC/PATCH 7/7] WIP: HACK/RFC: omap_device: begin to decouple platform_device from omap_device
Kevin Hilman
khilman at ti.com
Tue Aug 2 08:11:57 EST 2011
Russell King - ARM Linux <linux at arm.linux.org.uk> writes:
> Help the typechecker do its job. As we have only one (at the moment...)
> And make it:
>
> +struct omap_device;
>
> struct pdev_archdata {
> +#ifdef CONFIG_ARCH_OMAP
> + struct omap_device *omap;
> +#endif
> };
>
> for bonus points, so we only get the additional pointer for OMAP.
OK, will do it this way.
Kevin
More information about the devicetree-discuss
mailing list