Re: [PATCH] drm/sysfb: Fix unused function simpledrm_device_of_dev()

2025-04-07 Thread Thomas Zimmermann
Hi, thanks for the patch. Am 07.04.25 um 15:13 schrieb Jocelyn Falempe: When building with clang, with CONFIG_OF unset, I got the following error: drivers/gpu/drm/sysfb/simpledrm.c:247:33: error: unused function 'simpledrm_device_of_dev' [-Werror,-Wunused-function] 247 | static struct simp

[PATCH] drm/sysfb: Fix unused function simpledrm_device_of_dev()

2025-04-07 Thread Jocelyn Falempe
When building with clang, with CONFIG_OF unset, I got the following error: drivers/gpu/drm/sysfb/simpledrm.c:247:33: error: unused function 'simpledrm_device_of_dev' [-Werror,-Wunused-function] 247 | static struct simpledrm_device *simpledrm_device_of_dev(struct drm_device *dev) Add #if to de