summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/host/gr3d/gr3d_t20.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2012-06-08 11:40:27 +0300
committerSimone Willett <swillett@nvidia.com>2012-06-19 14:48:55 -0700
commitf4f4b4d6567ac6102e90a8d74c61474696766946 (patch)
tree72302a489940f0622ee463f71b64216a913f8475 /drivers/video/tegra/host/gr3d/gr3d_t20.h
parent6fb4afaf91ee38377d3218a2fc0ffca0bbbd4a6b (diff)
video: tegra: host: Support per Soc hardware headers
Make all chip specific functions static. Include the chip specific functions in SoC files after including the hardware headers. This makes the chip specific functions to be compiled per SoC, and with the correct hardware definitions. Bug 982965 Change-Id: I4774d4dc351951cb886d9d4da66cf021f3f0121e Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/107581 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/video/tegra/host/gr3d/gr3d_t20.h')
-rw-r--r--drivers/video/tegra/host/gr3d/gr3d_t20.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/tegra/host/gr3d/gr3d_t20.h b/drivers/video/tegra/host/gr3d/gr3d_t20.h
index 5fe6d50d0c30..e6fb8fdf8aba 100644
--- a/drivers/video/tegra/host/gr3d/gr3d_t20.h
+++ b/drivers/video/tegra/host/gr3d/gr3d_t20.h
@@ -21,7 +21,10 @@
#ifndef __NVHOST_GR3D_GR3D_T20_H
#define __NVHOST_GR3D_GR3D_T20_H
+#include <linux/types.h>
+
struct nvhost_hwctx_handler;
+struct nvhost_channel;
struct nvhost_hwctx_handler *nvhost_gr3d_t20_ctxhandler_init(
u32 syncpt, u32 waitbase,