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

NAME

       platform_device_add_data -

SYNOPSIS

       int platform_device_add_data  (struct platform_device * pdev,
                                       void * data, size_t size);

ARGUMENTS

       pdev   platform  device  allocated  by  platform_device_alloc  to   add
              resources to

       data   platform specific data for this platform device

       size   size of platform specific data

DESCRIPTION

       Add  a  copy  of  platform  specific  data  to  the  platform  device’s
       platform_data pointer. The memory associated  with  the  platform  data
       will be freed when the platform device is released.