diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a_generic.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a_generic.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a_generic.c b/drivers/gpu/nvgpu/gk20a/platform_gk20a_generic.c new file mode 100644 index 00000000..7b750df6 --- /dev/null +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a_generic.c | |||
@@ -0,0 +1,35 @@ | |||
1 | /* | ||
2 | * drivers/video/tegra/host/gk20a/platform_gk20a_generic.c | ||
3 | * | ||
4 | * GK20A Generic Platform Interface | ||
5 | * | ||
6 | * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms and conditions of the GNU General Public License, | ||
10 | * version 2, as published by the Free Software Foundation. | ||
11 | * | ||
12 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
13 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
14 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
15 | * more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | */ | ||
20 | |||
21 | #include "platform_gk20a.h" | ||
22 | |||
23 | static int gk20a_generic_probe(struct platform_device *dev) | ||
24 | { | ||
25 | struct gk20a_platform *platform = gk20a_get_platform(dev); | ||
26 | |||
27 | /* TODO: Initialize clocks and power */ | ||
28 | (void)platform; | ||
29 | |||
30 | return 0; | ||
31 | } | ||
32 | |||
33 | struct gk20a_platform gk20a_generic_platform = { | ||
34 | .probe = gk20a_generic_probe, | ||
35 | }; | ||