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¶
June 2024 | Kernel Hackers Manual 3.10 |