habanalabs: goya_ctx_init() can be static

Signed-off-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20200729000313.GA14680@e442e3f624c4
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
kernel test robot 2020-07-29 08:03:13 +08:00 committed by Greg Kroah-Hartman
parent 7b16a15524
commit bb34bf798c
2 changed files with 2 additions and 2 deletions

View File

@ -6272,7 +6272,7 @@ static enum hl_device_hw_state gaudi_get_hw_state(struct hl_device *hdev)
return RREG32(mmHW_STATE);
}
int gaudi_ctx_init(struct hl_ctx *ctx)
static int gaudi_ctx_init(struct hl_ctx *ctx)
{
return 0;
}

View File

@ -5225,7 +5225,7 @@ static enum hl_device_hw_state goya_get_hw_state(struct hl_device *hdev)
return RREG32(mmHW_STATE);
}
int goya_ctx_init(struct hl_ctx *ctx)
static int goya_ctx_init(struct hl_ctx *ctx)
{
return 0;
}