Loading drivers/base/driver.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -103,6 +103,7 @@ int driver_create_file(struct device_driver *drv, const struct driver_attribute *attr) const struct driver_attribute *attr) { { int error; int error; if (drv) if (drv) error = sysfs_create_file(&drv->p->kobj, &attr->attr); error = sysfs_create_file(&drv->p->kobj, &attr->attr); else else Loading Loading
drivers/base/driver.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -103,6 +103,7 @@ int driver_create_file(struct device_driver *drv, const struct driver_attribute *attr) const struct driver_attribute *attr) { { int error; int error; if (drv) if (drv) error = sysfs_create_file(&drv->p->kobj, &attr->attr); error = sysfs_create_file(&drv->p->kobj, &attr->attr); else else Loading