Ariel Otilibili has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/85785?usp=email )
Change subject: samsung/exynos5250: Replace 'unsigned long int' by 'unsigned long' ......................................................................
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/arti... Change-Id: I7eddb0934ccd24c9994a60d7058a1e518c6c9c9f Signed-off-by: Ariel Otilibili otilibil@eurecom.fr --- M src/soc/samsung/exynos5250/fb.c M src/soc/samsung/exynos5250/include/soc/dp-core.h 2 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/85/85785/1
diff --git a/src/soc/samsung/exynos5250/fb.c b/src/soc/samsung/exynos5250/fb.c index ab097e2..2ddc49c 100644 --- a/src/soc/samsung/exynos5250/fb.c +++ b/src/soc/samsung/exynos5250/fb.c @@ -95,7 +95,7 @@ * @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 @@ * @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 0c8aed7..6b2a21c 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 @@
/* 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 */