platform_device_alloc

Langue: en

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

platform_device_alloc -

SYNOPSIS

struct platform_device * platform_device_alloc(const char * name, 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.