Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbe01f51 authored by Kevin Hilman's avatar Kevin Hilman Committed by Kevin Hilman
Browse files

ARM: 7082/1: platform_device: pdev_archdata: add omap_device pointer



Add omap_device pointer to the ARM-specific arch data in the
platform_device.  This will be used to attach OMAP-specific
device-data to the platform device with device lifetime.

Suggested-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>

Acked-by: default avatarGrant Likely <grant.likely@secretlab.ca>
Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent d66b3fe4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -12,7 +12,12 @@ struct dev_archdata {
#endif
};

struct omap_device;

struct pdev_archdata {
#ifdef CONFIG_ARCH_OMAP
	struct omap_device *od;
#endif
};

#endif