File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ const struct dpm_clk_freq npu1_dpm_clk_table[] = {
62
62
{ 0 }
63
63
};
64
64
65
- const struct amdxdna_dev_priv npu1_dev_priv = {
65
+ static const struct amdxdna_dev_priv npu1_dev_priv = {
66
66
.fw_path = "amdnpu/1502_00/npu.sbin" ,
67
67
.protocol_major = 0x5 ,
68
68
.protocol_minor = 0x7 ,
Original file line number Diff line number Diff line change 61
61
#define NPU2_SMU_BAR_BASE MMNPU_APERTURE4_BASE
62
62
#define NPU2_SRAM_BAR_BASE MMNPU_APERTURE1_BASE
63
63
64
- const struct amdxdna_dev_priv npu2_dev_priv = {
64
+ static const struct amdxdna_dev_priv npu2_dev_priv = {
65
65
.fw_path = "amdnpu/17f0_00/npu.sbin" ,
66
66
.protocol_major = 0x6 ,
67
67
.protocol_minor = 0x6 ,
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ const struct dpm_clk_freq npu4_dpm_clk_table[] = {
82
82
{ 0 }
83
83
};
84
84
85
- const struct amdxdna_dev_priv npu4_dev_priv = {
85
+ static const struct amdxdna_dev_priv npu4_dev_priv = {
86
86
.fw_path = "amdnpu/17f0_10/npu.sbin" ,
87
87
.protocol_major = 0x6 ,
88
88
.protocol_minor = 12 ,
Original file line number Diff line number Diff line change 61
61
#define NPU5_SMU_BAR_BASE MMNPU_APERTURE4_BASE
62
62
#define NPU5_SRAM_BAR_BASE MMNPU_APERTURE1_BASE
63
63
64
- const struct amdxdna_dev_priv npu5_dev_priv = {
64
+ static const struct amdxdna_dev_priv npu5_dev_priv = {
65
65
.fw_path = "amdnpu/17f0_11/npu.sbin" ,
66
66
.protocol_major = 0x6 ,
67
67
.protocol_minor = 12 ,
You can’t perform that action at this time.
0 commit comments