diff options
author | Amit Sharma (SW-TEGRA) <amisharma@nvidia.com> | 2015-07-09 00:40:17 -0400 |
---|---|---|
committer | Sachin Nikam <snikam@nvidia.com> | 2015-07-16 00:54:16 -0400 |
commit | 1b145f447b6242f47bf48384dbbc4a54c9e1e04a (patch) | |
tree | d868a619bd75a43940e207dc48b7bab66239d063 /drivers/gpu/nvgpu/gk20a | |
parent | 1e7b5ea793946c6b959f7eef0be88dfd9aabac30 (diff) |
nvgpu: gk20a: include proper header file
Fixed the following sparse warning by including the "fb_gk20a.h" header file:
- fb_gk20a.c: warning: symbol 'fb_gk20a_reset' was not declared.
Should it be static?
Bug 200088648
Change-Id: I1ba6051455a22e81da6598eebdccfa8b45b78c3e
Signed-off-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/768203
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/770654
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fb_gk20a.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fb_gk20a.c b/drivers/gpu/nvgpu/gk20a/fb_gk20a.c index 2966e654..db02ec7b 100644 --- a/drivers/gpu/nvgpu/gk20a/fb_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fb_gk20a.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GK20A memory interface | 2 | * GK20A memory interface |
3 | * | 3 | * |
4 | * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
@@ -19,6 +19,7 @@ | |||
19 | #include "kind_gk20a.h" | 19 | #include "kind_gk20a.h" |
20 | #include "hw_mc_gk20a.h" | 20 | #include "hw_mc_gk20a.h" |
21 | #include "hw_fb_gk20a.h" | 21 | #include "hw_fb_gk20a.h" |
22 | #include "fb_gk20a.h" | ||
22 | 23 | ||
23 | void fb_gk20a_reset(struct gk20a *g) | 24 | void fb_gk20a_reset(struct gk20a *g) |
24 | { | 25 | { |