[v1,2/5] net/ntnic: rename clock registers file

Message ID 20250307215136.3110019-3-sil-plv@napatech.com (mailing list archive)
State Accepted, archived
Delegated to: Stephen Hemminger
Headers
Series bugfixes and cleanup |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Serhii Iliushyk March 7, 2025, 9:51 p.m. UTC
Rename this files to align the file naming

Signed-off-by: Serhii Iliushyk <sil-plv@napatech.com>
---
 ...egisters.h => nt400d13_u62_si5332_gm2_revd_1_v5_registers.h} | 0
 ...0_v5-Registers.h => nt200a02_u23_si5340_adr0_v5_registers.h} | 0
 .../ntnic/nthw/core/nt200a0x/clock_profiles/nthw_fpga_clk9563.c | 2 +-
 drivers/net/ntnic/nthw/core/nt400dxx/nthw_fpga_nt400dxx.c       | 2 +-
 4 files changed, 2 insertions(+), 2 deletions(-)
 rename drivers/net/ntnic/nthw/core/include/{NT400D13_U62_Si5332-GM2-RevD-1_V5-Registers.h => nt400d13_u62_si5332_gm2_revd_1_v5_registers.h} (100%)
 rename drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/{NT200A02_U23_Si5340_adr0_v5-Registers.h => nt200a02_u23_si5340_adr0_v5_registers.h} (100%)
  

Patch

diff --git a/drivers/net/ntnic/nthw/core/include/NT400D13_U62_Si5332-GM2-RevD-1_V5-Registers.h b/drivers/net/ntnic/nthw/core/include/nt400d13_u62_si5332_gm2_revd_1_v5_registers.h
similarity index 100%
rename from drivers/net/ntnic/nthw/core/include/NT400D13_U62_Si5332-GM2-RevD-1_V5-Registers.h
rename to drivers/net/ntnic/nthw/core/include/nt400d13_u62_si5332_gm2_revd_1_v5_registers.h
diff --git a/drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/NT200A02_U23_Si5340_adr0_v5-Registers.h b/drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/nt200a02_u23_si5340_adr0_v5_registers.h
similarity index 100%
rename from drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/NT200A02_U23_Si5340_adr0_v5-Registers.h
rename to drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/nt200a02_u23_si5340_adr0_v5_registers.h
diff --git a/drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/nthw_fpga_clk9563.c b/drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/nthw_fpga_clk9563.c
index dc8015ccab..e50094c6fa 100644
--- a/drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/nthw_fpga_clk9563.c
+++ b/drivers/net/ntnic/nthw/core/nt200a0x/clock_profiles/nthw_fpga_clk9563.c
@@ -10,7 +10,7 @@ 
  */
 #define si5340_revd_register_t type_9563_si5340_nt200a02_u23_v5
 #define si5340_revd_registers data_9563_si5340_nt200a02_u23_v5
-#include "NT200A02_U23_Si5340_adr0_v5-Registers.h"
+#include "nt200a02_u23_si5340_adr0_v5_registers.h"
 static_assert(sizeof(type_9563_si5340_nt200a02_u23_v5) == sizeof(clk_profile_data_fmt2_t),
 	clk_profile_size_error_msg);
 static const int n_data_9563_si5340_nt200a02_u23_v5 = SI5340_REVD_REG_CONFIG_NUM_REGS;
diff --git a/drivers/net/ntnic/nthw/core/nt400dxx/nthw_fpga_nt400dxx.c b/drivers/net/ntnic/nthw/core/nt400dxx/nthw_fpga_nt400dxx.c
index 24118822c4..121cedbb1f 100644
--- a/drivers/net/ntnic/nthw/core/nt400dxx/nthw_fpga_nt400dxx.c
+++ b/drivers/net/ntnic/nthw/core/nt400dxx/nthw_fpga_nt400dxx.c
@@ -5,7 +5,7 @@ 
 #include "ntlog.h"
 #include "nthw_fpga.h"
 #include "ntnic_mod_reg.h"
-#include "NT400D13_U62_Si5332-GM2-RevD-1_V5-Registers.h"
+#include "nt400d13_u62_si5332_gm2_revd_1_v5_registers.h"
 
 static int nthw_fpga_nt400dxx_init_clock_synthesizers(struct fpga_info_s *p_fpga_info)
 {