summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b/fb_gm20b.c
diff options
context:
space:
mode:
authorBo Yan <byan@nvidia.com>2017-04-24 17:13:56 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-25 13:14:11 -0400
commit39524b094180ab747287bc893e217dcbe5029e64 (patch)
tree9c7ef009c9f536bd30d7b0b74f395e08207aa4c9 /drivers/gpu/nvgpu/gm20b/fb_gm20b.c
parent8478f6356a94651dca1aed8c65df0ca0f0a50016 (diff)
gpu: nvgpu: include fb_gm20b.h in fb_gm20b.c
Get function declaration from fb_gm20b.h. This solves Sparse warnings due to the missing of function prototype. bug 200299572 Change-Id: Ie692f88e5bfc771bfcbb713adda3776521788f8c Signed-off-by: Bo Yan <byan@nvidia.com> Reviewed-on: http://git-master/r/1468858 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/fb_gm20b.c')
-rw-r--r--drivers/gpu/nvgpu/gm20b/fb_gm20b.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/fb_gm20b.c b/drivers/gpu/nvgpu/gm20b/fb_gm20b.c
index c49d2da9..ae500409 100644
--- a/drivers/gpu/nvgpu/gm20b/fb_gm20b.c
+++ b/drivers/gpu/nvgpu/gm20b/fb_gm20b.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * GM20B GPC MMU 2 * GM20B GPC MMU
3 * 3 *
4 * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2014-2017, 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,
@@ -16,6 +16,7 @@
16#include "gk20a/gk20a.h" 16#include "gk20a/gk20a.h"
17#include "gk20a/kind_gk20a.h" 17#include "gk20a/kind_gk20a.h"
18#include "gk20a/fb_gk20a.h" 18#include "gk20a/fb_gk20a.h"
19#include "gm20b/fb_gm20b.h"
19 20
20#include <nvgpu/hw/gm20b/hw_fb_gm20b.h> 21#include <nvgpu/hw/gm20b/hw_fb_gm20b.h>
21#include <nvgpu/hw/gm20b/hw_top_gm20b.h> 22#include <nvgpu/hw/gm20b/hw_top_gm20b.h>