summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Horman <horms@kernel.org>2026-01-27 19:16:55 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2026-03-03 19:56:05 +0300
commitdc0cdb7ff3b1e1ff2faf594640724c2771a8b2c6 (patch)
treec5226dcc8bf4b86d13be220ce22d915bfb7c87f9
parented0abfe93fd135dac223e87a3c945017b1fa8bfc (diff)
downloadlinux-dc0cdb7ff3b1e1ff2faf594640724c2771a8b2c6.tar.xz
ice: Make name member of struct ice_cgu_pin_desc const
The name member of struct ice_cgu_pin_desc never modified. Make it const. Found by inspection. Compile tested only. Signed-off-by: Simon Horman <horms@kernel.org> Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
-rw-r--r--drivers/net/ethernet/intel/ice/ice_ptp_hw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_ptp_hw.h b/drivers/net/ethernet/intel/ice/ice_ptp_hw.h
index 5896b346e579..9bfd3e79c580 100644
--- a/drivers/net/ethernet/intel/ice/ice_ptp_hw.h
+++ b/drivers/net/ethernet/intel/ice/ice_ptp_hw.h
@@ -258,7 +258,7 @@ enum ice_si_cgu_out_pins {
};
struct ice_cgu_pin_desc {
- char *name;
+ const char *name;
u8 index;
enum dpll_pin_type type;
u32 freq_supp_num;