mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: Remove extra defs of BOOT_GPC2CLK
BOOT_GPC2CLK was defined in clk.c and clk.h, but not used there. Move the definition to the only user of BOOT_GPC2CLK, which is pci.c. JIRA NVGPU-961 Change-Id: Idff290fb447390b44ee09eab853e434e124e84bb Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1986069 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
8ddc70f4f7
commit
02dd414a53
@@ -33,7 +33,6 @@
|
||||
#include "clk.h"
|
||||
#include <nvgpu/timers.h>
|
||||
|
||||
#define BOOT_GPC2CLK_MHZ 2581U
|
||||
#define BOOT_MCLK_MHZ 3003U
|
||||
|
||||
struct clkrpc_pmucmdhandler_params {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* general clock structures & definitions
|
||||
*
|
||||
* Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2016-2019, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -125,8 +125,6 @@ struct vbios_clocks_table_1x_hal_clock_entry {
|
||||
#define PERF_CLK_PCIEGENCLK 12U
|
||||
#define PERF_CLK_NUM 13U
|
||||
|
||||
#define BOOT_GPC2CLK_MHZ 2581U
|
||||
|
||||
int clk_init_pmupstate(struct gk20a *g);
|
||||
void clk_free_pmupstate(struct gk20a *g);
|
||||
int clk_pmu_vin_load(struct gk20a *g);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2016-2019, 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,
|
||||
@@ -45,6 +45,7 @@
|
||||
|
||||
#include "driver_common.h"
|
||||
|
||||
#define BOOT_GPC2CLK_MHZ 2581U
|
||||
#define PCI_INTERFACE_NAME "card-%s%%s"
|
||||
|
||||
static int nvgpu_pci_tegra_probe(struct device *dev)
|
||||
|
||||
Reference in New Issue
Block a user