On Wed, Jul 08, 2026 at 11:56:45AM +0200, Jiri Slaby (SUSE) wrote: > sparse (build with C=1) warns: > drivers/gpu/drm/imx/dc/dc-ic.c:273:24: warning: symbol 'dc_ic_driver' was not > declared. Should it be static? > > And it is right. Include dc-drv.h which declares the struct. This > ensures the types of both match. > > Signed-off-by: Jiri Slaby (SUSE) <[email protected]> > Cc: Liu Ying <[email protected]> > --- > Cc: Maarten Lankhorst <[email protected]> > Cc: Maxime Ripard <[email protected]> > Cc: Thomas Zimmermann <[email protected]> > Cc: David Airlie <[email protected]> > Cc: Simona Vetter <[email protected]> > Cc: Frank Li <[email protected]> > Cc: Sascha Hauer <[email protected]> > Cc: Pengutronix Kernel Team <[email protected]> > Cc: Fabio Estevam <[email protected]> > Cc: [email protected] > Cc: [email protected] > Cc: [email protected] > --- > drivers/gpu/drm/imx/dc/dc-ic.c | 2 ++ > 1 file changed, 2 insertions(+)
Reviewed-by: Liu Ying <[email protected]> Thanks.
