summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2012-03-29 15:23:28 +0300
committerSimone Willett <swillett@nvidia.com>2012-04-05 18:23:51 -0700
commit28119d9c0a2bd77a2b6fdb918f082a115d8d37de (patch)
tree2ba7fbc79c3fd15a807c784f9b7e0f4d4059ca2c /drivers
parent628b67d1738a74a4777277b72b65976ef377eea7 (diff)
video: tegra: host: Move context init outside __init
Context handler init functions are referred to from non-init section. The functions should not have __init attribute, even though they're only used in init time. Change-Id: I1b6bca48504fd7989edaa037c4b022a76244b0f6 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/93216 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-by: Ken Adams <kadams@nvidia.com> Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/tegra/host/gr3d/gr3d_t20.c2
-rw-r--r--drivers/video/tegra/host/gr3d/gr3d_t30.c2
-rw-r--r--drivers/video/tegra/host/mpe/mpe.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/tegra/host/gr3d/gr3d_t20.c b/drivers/video/tegra/host/gr3d/gr3d_t20.c
index 3604142aaf20..9ca990f89077 100644
--- a/drivers/video/tegra/host/gr3d/gr3d_t20.c
+++ b/drivers/video/tegra/host/gr3d/gr3d_t20.c
@@ -347,7 +347,7 @@ static void ctx3d_save_service(struct nvhost_hwctx *nctx)
host1x_hwctx_handler(ctx)->syncpt);
}
-struct nvhost_hwctx_handler * __init nvhost_gr3d_t20_ctxhandler_init(
+struct nvhost_hwctx_handler *nvhost_gr3d_t20_ctxhandler_init(
u32 syncpt, u32 waitbase,
struct nvhost_channel *ch)
{
diff --git a/drivers/video/tegra/host/gr3d/gr3d_t30.c b/drivers/video/tegra/host/gr3d/gr3d_t30.c
index e7329e50e3dd..8ca6b7b44b9e 100644
--- a/drivers/video/tegra/host/gr3d/gr3d_t30.c
+++ b/drivers/video/tegra/host/gr3d/gr3d_t30.c
@@ -381,7 +381,7 @@ static struct nvhost_hwctx *ctx3d_alloc_v1(struct nvhost_hwctx_handler *h,
return NULL;
}
-struct nvhost_hwctx_handler *__init nvhost_gr3d_t30_ctxhandler_init(
+struct nvhost_hwctx_handler *nvhost_gr3d_t30_ctxhandler_init(
u32 syncpt, u32 waitbase,
struct nvhost_channel *ch)
{
diff --git a/drivers/video/tegra/host/mpe/mpe.c b/drivers/video/tegra/host/mpe/mpe.c
index 28002aa637a7..fb5d23bc613d 100644
--- a/drivers/video/tegra/host/mpe/mpe.c
+++ b/drivers/video/tegra/host/mpe/mpe.c
@@ -526,7 +526,7 @@ static void ctxmpe_save_service(struct nvhost_hwctx *nctx)
h->syncpt);
}
-struct nvhost_hwctx_handler * __init nvhost_mpe_ctxhandler_init(
+struct nvhost_hwctx_handler *nvhost_mpe_ctxhandler_init(
u32 syncpt, u32 waitbase,
struct nvhost_channel *ch)
{