mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 09:44:18 +08:00
229f05fdb0
tegra_init_clock() is written to call tegra2_init_clocks(), which only exists if Tegra20 support is enabled. This breaks the build of a Tegra30-only kernel. tegra_init_clock() isn't actually used any more; tegra20_init_early() calls tegra2_init_clocks() directly. So, just delete this function. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>
37 lines
1.0 KiB
C
37 lines
1.0 KiB
C
/*
|
|
* arch/arm/mach-tegra/board.h
|
|
*
|
|
* Copyright (C) 2010 Google, Inc.
|
|
*
|
|
* Author:
|
|
* Colin Cross <ccross@google.com>
|
|
* Erik Gilling <konkers@google.com>
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* This program is distributed in the hope that 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.
|
|
*
|
|
*/
|
|
|
|
#ifndef __MACH_TEGRA_BOARD_H
|
|
#define __MACH_TEGRA_BOARD_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
void tegra_assert_system_reset(char mode, const char *cmd);
|
|
|
|
void __init tegra20_init_early(void);
|
|
void __init tegra30_init_early(void);
|
|
void __init tegra_map_common_io(void);
|
|
void __init tegra_init_irq(void);
|
|
void __init tegra_dt_init_irq(void);
|
|
int __init tegra_pcie_init(bool init_port0, bool init_port1);
|
|
|
|
extern struct sys_timer tegra_timer;
|
|
#endif
|