mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
bug 200088648 sparse warning reported that the function was not defined. This was due to a missing include Change-Id: Ia6153a2f3348a86e78add95bcfff998505b47cdd Signed-off-by: David Nieto <dmartineznie@nvidia.com> Reviewed-on: http://git-master/r/1237845 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
30 lines
886 B
C
30 lines
886 B
C
/*
|
|
* Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms and conditions of the GNU General Public License,
|
|
* version 2, as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
* more details.
|
|
*/
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include "gk20a/gk20a.h"
|
|
#include "gm20b/ltc_gm20b.h"
|
|
#include "gp10b/ltc_gp10b.h"
|
|
#include "gp106/ltc_gp106.h"
|
|
|
|
void gp106_init_ltc(struct gpu_ops *gops)
|
|
{
|
|
gp10b_init_ltc(gops);
|
|
|
|
/* dGPU does not need the LTC hack */
|
|
gops->ltc.cbc_fix_config = NULL;
|
|
gops->ltc.init_cbc = NULL;
|
|
gops->ltc.init_fs_state = gm20b_ltc_init_fs_state;
|
|
}
|