2024-01-11 07:34:47

by GuoHua Chen

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

Fix the following errors reported by checkpatch:

ERROR: do not initialise statics to 0x000000

Signed-off-by: GuoHua Chen <[email protected]>
---
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