diff options
author | Rob Rice <rob.rice@broadcom.com> | 2016-11-14 13:25:55 -0500 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2016-12-19 09:40:18 -0500 |
commit | 9b1b2b3adb310560a31ea248fa0defc8f09129ff (patch) | |
tree | 5516f12c0048f864e35d7b9f3b8a080c1cdbf818 /drivers/mailbox | |
parent | 2f50497d71e2982584d1a11d636d43eea0f992e6 (diff) |
mailbox: bcm-pdc: Use octal permissions rather than symbolic
When creating the debugfs files for the PDC driver, use
octal file permissions rather than symbolic file permissions.
Signed-off-by: Rob Rice <rob.rice@broadcom.com>
Reviewed-by: Andy Gospodarek <gospo@broadcom.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/mailbox')
-rw-r--r-- | drivers/mailbox/bcm-pdc-mailbox.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mailbox/bcm-pdc-mailbox.c b/drivers/mailbox/bcm-pdc-mailbox.c index c19dd820ea9b..a9c804fa3fbe 100644 --- a/drivers/mailbox/bcm-pdc-mailbox.c +++ b/drivers/mailbox/bcm-pdc-mailbox.c | |||
@@ -480,7 +480,8 @@ static void pdc_setup_debugfs(struct pdc_state *pdcs) | |||
480 | if (!debugfs_dir) | 480 | if (!debugfs_dir) |
481 | debugfs_dir = debugfs_create_dir(KBUILD_MODNAME, NULL); | 481 | debugfs_dir = debugfs_create_dir(KBUILD_MODNAME, NULL); |
482 | 482 | ||
483 | pdcs->debugfs_stats = debugfs_create_file(spu_stats_name, S_IRUSR, | 483 | /* S_IRUSR == 0400 */ |
484 | pdcs->debugfs_stats = debugfs_create_file(spu_stats_name, 0400, | ||
484 | debugfs_dir, pdcs, | 485 | debugfs_dir, pdcs, |
485 | &pdc_debugfs_stats); | 486 | &pdc_debugfs_stats); |
486 | } | 487 | } |