Skip to content

Commit bb34bf7

Browse files
intel-lab-lkpgregkh
authored andcommitted
habanalabs: goya_ctx_init() can be static
Signed-off-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/r/20200729000313.GA14680@e442e3f624c4 Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7b16a15 commit bb34bf7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

drivers/misc/habanalabs/gaudi/gaudi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6272,7 +6272,7 @@ static enum hl_device_hw_state gaudi_get_hw_state(struct hl_device *hdev)
62726272
return RREG32(mmHW_STATE);
62736273
}
62746274

6275-
int gaudi_ctx_init(struct hl_ctx *ctx)
6275+
static int gaudi_ctx_init(struct hl_ctx *ctx)
62766276
{
62776277
return 0;
62786278
}

drivers/misc/habanalabs/goya/goya.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5225,7 +5225,7 @@ static enum hl_device_hw_state goya_get_hw_state(struct hl_device *hdev)
52255225
return RREG32(mmHW_STATE);
52265226
}
52275227

5228-
int goya_ctx_init(struct hl_ctx *ctx)
5228+
static int goya_ctx_init(struct hl_ctx *ctx)
52295229
{
52305230
return 0;
52315231
}

0 commit comments

Comments
 (0)