1. NAME▲
platform_device_register_resndata - add a platform-level device with resources and platform-specific data
2. SYNOPSIS ▲
struct platform_device * platform_device_register_resndata(struct device * parent , const char * name , int id , const struct resource * res , unsigned int num , const void * data , size_t size );
3. ARGUMENTS ▲
parent
parent device for the device weAqre adding
name
base name of the device weAqre adding
id
instance id
res
set of resources that needs to be allocated for the device
num
number of resources
data
platform specific data for this platform device
size
size of platform specific data
4. DESCRIPTION ▲
Returns struct platform_device pointer on success, or ERR_PTR on error.
5. COPYRIGHT ▲