mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
gpu: nvgpu: unit: init: cleanup init test header
Remove include files and replace with forward declarations. Remove 'static' modifier in header and source. JIRA NVGPU-2239 Change-Id: Ie7b6d34be446a7c9a163179c0fc443275278489a Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2184927 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> 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
f422aee393
commit
88e167ad98
@@ -79,7 +79,7 @@ static void no_return(struct gk20a *g)
|
||||
/* noop */
|
||||
}
|
||||
|
||||
static int test_setup_env(struct unit_module *m,
|
||||
int test_setup_env(struct unit_module *m,
|
||||
struct gk20a *g, void *args)
|
||||
{
|
||||
/* Create mc register space */
|
||||
@@ -100,7 +100,7 @@ static int test_setup_env(struct unit_module *m,
|
||||
return UNIT_SUCCESS;
|
||||
}
|
||||
|
||||
static int test_free_env(struct unit_module *m,
|
||||
int test_free_env(struct unit_module *m,
|
||||
struct gk20a *g, void *args)
|
||||
{
|
||||
/* Free mc register space */
|
||||
@@ -110,7 +110,7 @@ static int test_free_env(struct unit_module *m,
|
||||
return UNIT_SUCCESS;
|
||||
}
|
||||
|
||||
static int test_can_busy(struct unit_module *m,
|
||||
int test_can_busy(struct unit_module *m,
|
||||
struct gk20a *g, void *args)
|
||||
{
|
||||
int ret = UNIT_SUCCESS;
|
||||
@@ -146,7 +146,7 @@ static int test_can_busy(struct unit_module *m,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int test_get_put(struct unit_module *m,
|
||||
int test_get_put(struct unit_module *m,
|
||||
struct gk20a *g, void *args)
|
||||
{
|
||||
int ret = UNIT_SUCCESS;
|
||||
@@ -217,7 +217,7 @@ static int test_get_put(struct unit_module *m,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int test_check_gpu_state(struct unit_module *m,
|
||||
int test_check_gpu_state(struct unit_module *m,
|
||||
struct gk20a *g, void *args)
|
||||
{
|
||||
/* Valid state */
|
||||
@@ -238,7 +238,7 @@ static int test_check_gpu_state(struct unit_module *m,
|
||||
return UNIT_SUCCESS;
|
||||
}
|
||||
|
||||
static int test_hal_init(struct unit_module *m,
|
||||
int test_hal_init(struct unit_module *m,
|
||||
struct gk20a *g, void *args)
|
||||
{
|
||||
nvgpu_posix_io_writel_reg_space(g, mc_boot_0_r(), MC_BOOT_0_GV11B);
|
||||
|
||||
Reference in New Issue
Block a user