diff --git a/drivers/gpu/drm/msm/sde/sde_hw_color_proc_v4.c b/drivers/gpu/drm/msm/sde/sde_hw_color_proc_v4.c index 73e6c5ffc3a4..2250fa5aa76b 100644 --- a/drivers/gpu/drm/msm/sde/sde_hw_color_proc_v4.c +++ b/drivers/gpu/drm/msm/sde/sde_hw_color_proc_v4.c @@ -15,21 +15,21 @@ #include "sde_hw_color_proc_common_v4.h" #include "sde_hw_color_proc_v4.h" -unsigned int kcal_red = 256; -unsigned int kcal_green = 256; -unsigned int kcal_blue = 256; -unsigned int kcal_hue = 0; -unsigned int kcal_sat = 255; -unsigned int kcal_val = 255; -unsigned int kcal_cont = 255; - -module_param(kcal_red, uint, 0644); -module_param(kcal_green, uint, 0644); -module_param(kcal_blue, uint, 0644); -module_param(kcal_hue, uint, 0644); -module_param(kcal_sat, uint, 0644); -module_param(kcal_val, uint, 0644); -module_param(kcal_cont, uint, 0644); +static unsigned short kcal_red = 256; +static unsigned short kcal_green = 256; +static unsigned short kcal_blue = 256; +static unsigned short kcal_hue = 0; +static unsigned short kcal_sat = 255; +static unsigned short kcal_val = 255; +static unsigned short kcal_cont = 255; + +module_param(kcal_red, short, 0644); +module_param(kcal_green, short, 0644); +module_param(kcal_blue, short, 0644); +module_param(kcal_hue, short, 0644); +module_param(kcal_sat, short, 0644); +module_param(kcal_val, short, 0644); +module_param(kcal_cont, short, 0644); static int sde_write_3d_gamut(struct sde_hw_blk_reg_map *hw, struct drm_msm_3d_gamut *payload, u32 base,