Skip to content

Commit

Permalink
fix missing spantype file from dahdi-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
ursfassler authored and push143smart committed Aug 16, 2024
1 parent d7bbc8a commit d932d9f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions drivers/dahdi/dahdi-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,8 +704,16 @@ static DEVICE_ATTR_RO(location);
static DEVICE_ATTR_WO(auto_assign);
static DEVICE_ATTR_WO(assign_span);
static DEVICE_ATTR_WO(unassign_span);
static DEVICE_ATTR_RW(dahdi_spantype);
static DEVICE_ATTR_RO(dahdi_registration_time);
static struct device_attribute dev_attr_dahdi_spantype = {
.attr = { .name = "spantype", .mode = 0644 },
.show = dahdi_spantype_show,
.store = dahdi_spantype_store,
};
static struct device_attribute dev_attr_dahdi_registration_time = {
.attr = { .name = "registration_time", .mode = 0444 },
.show = dahdi_registration_time_show,
.store = NULL,
};
static struct attribute *dahdi_device_attrs[] = {
&dev_attr_manufacturer.attr,
&dev_attr_type.attr,
Expand Down

0 comments on commit d932d9f

Please sign in to comment.