android_kernel_motorola_sm6225/arch/microblaze
Magnus Damm d7aacaddca Driver Core: Add platform device arch data V3
Allow architecture specific data in struct platform_device V3.

With this patch struct pdev_archdata is added to struct
platform_device, similar to struct dev_archdata in found in
struct device. Useful for architecture code that needs to
keep extra data associated with each platform device.

Struct pdev_archdata is different from dev.platform_data, the
convention is that dev.platform_data points to driver-specific
data. It may or may not be required by the driver. The format
of this depends on driver but is the same across architectures.

The structure pdev_archdata is a place for architecture specific
data. This data is handled by architecture specific code (for
example runtime PM), and since it is architecture specific it
should _never_ be touched by device driver code. Exactly like
struct dev_archdata but for platform devices.

[rjw: This change is for power management mostly and that's why it
 goes through the suspend tree.]

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2009-07-22 00:28:38 +02:00
..
boot microblaze_mmu_v2: Makefiles 2009-05-26 16:45:24 +02:00
configs microblaze_mmu_v2: Add mmu_defconfig 2009-05-26 16:45:13 +02:00
include/asm Driver Core: Add platform device arch data V3 2009-07-22 00:28:38 +02:00
kernel headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
lib microblaze: use the generic lib/checksum.c 2009-07-06 10:26:52 +02:00
mm microblaze: Fix cast warning for init.c 2009-07-06 10:27:03 +02:00
platform microblaze_v8: Makefiles for Microblaze cpu 2009-03-27 14:25:51 +01:00
Kconfig microblaze: use the generic lib/checksum.c 2009-07-06 10:26:52 +02:00
Kconfig.debug microblaze_v8: Kconfig patches 2009-03-27 14:25:50 +01:00
Makefile microblaze_mmu_v2: Makefiles 2009-05-26 16:45:24 +02:00