summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/vgpu/sysfs_vgpu.c
diff options
context:
space:
mode:
authorRichard Zhao <rizhao@nvidia.com>2018-01-29 18:43:50 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-02-27 17:30:32 -0500
commit8202be50ce80e7fc2cf851a1ec4ad8f9378e3306 (patch)
treee0b5d6fcd4a9a71c01569cc5a23e67cb2e751628 /drivers/gpu/nvgpu/common/linux/vgpu/sysfs_vgpu.c
parent28abb3d2cd3a9efe413be3c2f8e897ccd72f6b93 (diff)
gpu: nvgpu: vgpu: split vgpu.c into vgpu.c and vgpu_linux.c
vgpu.c will keep common code whil vgpu_linux.c is linux specific. Jira EVLR-2364 Change-Id: Ice9782fa96c256f1b70320886d3720ab0db26244 Signed-off-by: Richard Zhao <rizhao@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1649943 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/sysfs_vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/vgpu/sysfs_vgpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/sysfs_vgpu.c b/drivers/gpu/nvgpu/common/linux/vgpu/sysfs_vgpu.c
index 4025aabd..c8435efd 100644
--- a/drivers/gpu/nvgpu/common/linux/vgpu/sysfs_vgpu.c
+++ b/drivers/gpu/nvgpu/common/linux/vgpu/sysfs_vgpu.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -17,6 +17,7 @@
17#include <linux/device.h> 17#include <linux/device.h>
18 18
19#include "vgpu.h" 19#include "vgpu.h"
20#include "common/linux/platform_gk20a.h"
20 21
21static ssize_t vgpu_load_show(struct device *dev, 22static ssize_t vgpu_load_show(struct device *dev,
22 struct device_attribute *attr, 23 struct device_attribute *attr,