mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
drm/imx: include dc-drv.h to avoid sparse warning
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) <jirislaby@kernel.org> Cc: Liu Ying <victor.liu@nxp.com> Reviewed-by: Liu Ying <victor.liu@nxp.com> Link: https://patch.msgid.link/20260708095645.385291-2-jirislaby@kernel.org Signed-off-by: Liu Ying <victor.liu@nxp.com>
This commit is contained in:
parent
d91748f683
commit
68952f1b00
|
|
@ -14,6 +14,8 @@
|
|||
#include <linux/pm_runtime.h>
|
||||
#include <linux/regmap.h>
|
||||
|
||||
#include "dc-drv.h"
|
||||
|
||||
#define USERINTERRUPTMASK(n) (0x8 + 4 * (n))
|
||||
#define INTERRUPTENABLE(n) (0x10 + 4 * (n))
|
||||
#define INTERRUPTPRESET(n) (0x18 + 4 * (n))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user