1. NAME▲

platform_device_alloc - create a platform device

2. SYNOPSIS ▲

struct platform_device * platform_device_alloc(const char *  name , int  id );

3. ARGUMENTS ▲

name
    base name of the device weAqre adding

id
    instance id

4. DESCRIPTION ▲

Create a platform device object which can have other objects attached to it, and which will have attached objects freed when it is released.

5. COPYRIGHT ▲