summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
index 1b4d2c07..978ad5aa 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
+++ b/drivers/gpu/nvgpu/gk20a/gk20a_sysfs.c
@@ -18,12 +18,17 @@
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. 18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */ 19 */
20 20
21#include <linux/version.h>
21#include <linux/device.h> 22#include <linux/device.h>
22#include <linux/pm_runtime.h> 23#include <linux/pm_runtime.h>
23#include <linux/kernel.h> 24#include <linux/kernel.h>
24#include <linux/fb.h> 25#include <linux/fb.h>
25#include <linux/gk20a.h> 26#include <linux/gk20a.h>
27#include <mach/clk.h>
26#include <linux/clk/tegra.h> 28#include <linux/clk/tegra.h>
29#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0))
30#include <soc/tegra/tegra-dvfs.h>
31#endif
27 32
28#include "gk20a.h" 33#include "gk20a.h"
29#include "gr_gk20a.h" 34#include "gr_gk20a.h"