First page Back Continue Last page Overview Graphics
platform_data mechanism
In addition to the well-defined resources, many drivers require driver-specific informations for each platform device
These informations can be passed using the platform_data field of the struct device (from which struct platform_device inherits)
As it is a void * pointer, it can be used to pass any type of information.
- Typically, each driver defines a structure to pass information through platform_data