[PATCH] drm/sti: Clean up errors in sti_mixer.c

From: GuoHua Chen
Date: Thu Jan 11 2024 - 02:34:45 EST


Fix the following errors reported by checkpatch:

ERROR: do not initialise statics to 0x000000

Signed-off-by: GuoHua Chen <chenguohua_716@xxxxxxx>
---
drivers/gpu/drm/sti/sti_mixer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/sti/sti_mixer.c b/drivers/gpu/drm/sti/sti_mixer.c
index 7e5f14646625..6628c7f78868 100644
--- a/drivers/gpu/drm/sti/sti_mixer.c
+++ b/drivers/gpu/drm/sti/sti_mixer.c
@@ -16,7 +16,7 @@
#include "sti_vtg.h"

/* Module parameter to set the background color of the mixer */
-static unsigned int bkg_color = 0x000000;
+static unsigned int bkg_color;
MODULE_PARM_DESC(bkgcolor, "Value of the background color 0xRRGGBB");
module_param_named(bkgcolor, bkg_color, int, 0644);

--
2.17.1