Skip to content

Commit

Permalink
fbtft: change sysfs perm to build on 3.17
Browse files Browse the repository at this point in the history
  • Loading branch information
notro committed Nov 2, 2014
1 parent 3299571 commit 4854507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fbtft-sysfs.c
Expand Up @@ -147,7 +147,7 @@ static ssize_t show_gamma_curve(struct device *device,
}

static struct device_attribute gamma_device_attrs[] = {
__ATTR(gamma, S_IRUGO | S_IWUGO, show_gamma_curve, store_gamma_curve),
__ATTR(gamma, 0660, show_gamma_curve, store_gamma_curve),
};


Expand Down Expand Up @@ -204,7 +204,7 @@ static ssize_t show_debug(struct device *device,
}

static struct device_attribute debug_device_attr = \
__ATTR(debug, S_IRUGO | S_IWUGO, show_debug, store_debug);
__ATTR(debug, 0660, show_debug, store_debug);


void fbtft_sysfs_init(struct fbtft_par *par)
Expand Down

0 comments on commit 4854507

Please sign in to comment.