Scroll to navigation

DRIVER_CREATE_FILE(9) Device drivers infrastructure DRIVER_CREATE_FILE(9)

NAME

driver_create_file - create sysfs file for driver.

SYNOPSIS

int driver_create_file(struct device_driver * drv, const struct driver_attribute * attr);

ARGUMENTS

drv

driver.

attr

driver attribute descriptor.

COPYRIGHT

January 2017 Kernel Hackers Manual 4.8.