diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2012-05-22 15:23:13 +0300 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-06-14 16:29:46 -0700 |
commit | 9774bbe31a0741ad71929156f59afdb2aba4eae5 (patch) | |
tree | 97246003d1c10c6bf934d4080e01492c50acbdb8 /arch/arm/mach-tegra/tegra2_host1x_devices.h | |
parent | d02edba6153149b30fbbd5eb9dec91f42eb0d732 (diff) |
video: tegra: host: Register devices in SoC files
Move the device structures to the driver source code files. Register
all nvhost_device's in one loop which is called from board file.
host1x driver code is moved to live under host1x, too. This causes
a need to add host to include path of tegradc and nvavp.
Bug 982965
Change-Id: If99cf9d1ef6bc24663ee8294c19370429ed04ca7
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/104076
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra2_host1x_devices.h')
-rw-r--r-- | arch/arm/mach-tegra/tegra2_host1x_devices.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/tegra2_host1x_devices.h b/arch/arm/mach-tegra/tegra2_host1x_devices.h new file mode 100644 index 000000000000..974154a414dd --- /dev/null +++ b/arch/arm/mach-tegra/tegra2_host1x_devices.h @@ -0,0 +1,26 @@ +/* + * drivers/video/tegra/host/tegra2_host1x_devices.h + * + * Tegra2 Graphics Host Devices + * + * Copyright (c) 2012, NVIDIA Corporation. + * + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef TEGRA2_HOST1X_DEVICES_H +#define TEGRA2_HOST1X_DEVICES_H + +int tegra2_register_host1x_devices(void); + +#endif |