Scroll to navigation

DEVICE_CREATE_FILE(9) Device drivers infrastructure DEVICE_CREATE_FILE(9)

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

May 2018 Kernel Hackers Manual 3.16