| .. | .. |
|---|
| 1 | 1 | // SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * |
|---|
| 4 | | - * (C) COPYRIGHT 2020-2021 ARM Limited. All rights reserved. |
|---|
| 4 | + * (C) COPYRIGHT 2020-2022 ARM Limited. All rights reserved. |
|---|
| 5 | 5 | * |
|---|
| 6 | 6 | * This program is free software and is provided to you under the terms of the |
|---|
| 7 | 7 | * GNU General Public License version 2 as published by the Free Software |
|---|
| .. | .. |
|---|
| 68 | 68 | void kbase_dvfs_status_debugfs_init(struct kbase_device *kbdev) |
|---|
| 69 | 69 | { |
|---|
| 70 | 70 | struct dentry *file; |
|---|
| 71 | | -#if (KERNEL_VERSION(4, 7, 0) <= LINUX_VERSION_CODE) |
|---|
| 72 | 71 | const mode_t mode = 0444; |
|---|
| 73 | | -#else |
|---|
| 74 | | - const mode_t mode = 0400; |
|---|
| 75 | | -#endif |
|---|
| 76 | 72 | |
|---|
| 77 | 73 | if (WARN_ON(!kbdev || IS_ERR_OR_NULL(kbdev->mali_debugfs_directory))) |
|---|
| 78 | 74 | return; |
|---|