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:
parent
7b16a15524
commit
bb34bf798c
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue