Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       platform_device_alloc -

SYNOPSIS

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

ARGUMENTS

       name   base name of the device we’re adding

       id     instance id

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.