First page Back Continue Last page Overview Graphics
Platform device instantiation (1)
As platform devices cannot be detected dynamically, they are defined statically
- By direct instantiation of platform_device structures, as done on ARM. Definition done in the board-specific or SoC-specific code.
- By using a device tree, as done on Power PC, from which platform_device structures are created
Example on ARM, where the instantiation is done in arch/arm/mach-imx/mx1ads.c