DEVICE_CREATE_FILE

Section: Device drivers infrastructure (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

device_create_file - create sysfs attribute file for device.  

SYNOPSIS

int device_create_file(struct device * dev, const struct device_attribute * attr);
 

ARGUMENTS

dev

device.

attr

device attribute descriptor.
 

COPYRIGHT