Commit 4056fd8e authored by Federico Vaga's avatar Federico Vaga

drv: fix calibration_data permission

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 0713849d
...@@ -170,7 +170,7 @@ static ssize_t fa_read_eeprom(struct file *file, struct kobject *kobj, ...@@ -170,7 +170,7 @@ static ssize_t fa_read_eeprom(struct file *file, struct kobject *kobj,
struct bin_attribute dev_attr_calibration = { struct bin_attribute dev_attr_calibration = {
.attr = { .attr = {
.name = "calibration_data", .name = "calibration_data",
.mode = 0744, .mode = 0644,
}, },
.size = sizeof(struct fa_calib), .size = sizeof(struct fa_calib),
.write = fa_write_eeprom, .write = fa_write_eeprom,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment