From a9d4c40ba5b070389fc7974767059db5829f43de Mon Sep 17 00:00:00 2001 From: Ariel Otilibili Date: Sat, 11 Jan 2025 15:12:39 +0100 Subject: [PATCH] samsung/exynos5250: Replace 'unsigned long int' by 'unsigned long' As suggested by the linter: Prefer 'unsigned long' over 'unsigned long int' as the int is unnecessary Link: https://qa.coreboot.org/job/coreboot-untested-files/lastSuccessfulBuild/artifact/lint.txt Change-Id: I7eddb0934ccd24c9994a60d7058a1e518c6c9c9f Signed-off-by: Ariel Otilibili Reviewed-on: https://review.coreboot.org/c/coreboot/+/85785 Reviewed-by: Felix Singer Reviewed-by: Maximilian Brune Tested-by: build bot (Jenkins) --- src/soc/samsung/exynos5250/fb.c | 4 ++-- src/soc/samsung/exynos5250/include/soc/dp-core.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/soc/samsung/exynos5250/fb.c b/src/soc/samsung/exynos5250/fb.c index ab097e294e..2ddc49ceb5 100644 --- a/src/soc/samsung/exynos5250/fb.c +++ b/src/soc/samsung/exynos5250/fb.c @@ -95,7 +95,7 @@ static void fimd_bypass(void) * @param lcdbase pointer to the base address of framebuffer. * @param pd pointer to the main panel_data structure */ -void fb_init(unsigned long int fb_size, void *lcdbase, +void fb_init(unsigned long fb_size, void *lcdbase, struct exynos5_fimd_panel *pd) { unsigned int val; @@ -532,7 +532,7 @@ int dp_controller_init(struct s5p_dp_device *dp_device) * @param lcdbase Base address of LCD frame buffer * @return 0 if ok, -ve error code on error */ -int lcd_ctrl_init(unsigned long int fb_size, +int lcd_ctrl_init(unsigned long fb_size, struct exynos5_fimd_panel *panel_data, void *lcdbase) { int ret = 0; diff --git a/src/soc/samsung/exynos5250/include/soc/dp-core.h b/src/soc/samsung/exynos5250/include/soc/dp-core.h index 0c8aed7eaf..6b2a21cf9c 100644 --- a/src/soc/samsung/exynos5250/include/soc/dp-core.h +++ b/src/soc/samsung/exynos5250/include/soc/dp-core.h @@ -234,9 +234,9 @@ void s5p_dp_wait_hw_link_training_done(struct s5p_dp_device *dp); /* startup and init */ struct exynos5_fimd_panel; -void fb_init(unsigned long int fb_size, void *lcdbase, +void fb_init(unsigned long fb_size, void *lcdbase, struct exynos5_fimd_panel *pd); int dp_controller_init(struct s5p_dp_device *dp_device); -int lcd_ctrl_init(unsigned long int fb_size, +int lcd_ctrl_init(unsigned long fb_size, struct exynos5_fimd_panel *panel_data, void *lcdbase); #endif /* CPU_SAMSUNG_EXYNOS5250_DP_CORE_H */