summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorJacky Cao <[email protected]>2026-04-23 13:37:25 +0800
committerFabio Estevam <[email protected]>2026-05-15 17:31:39 -0300
commitba80ed218d296c49ed1de2ce4aad55854158022a (patch)
tree65fdf1e472f65ec45860a76b945a4ea4d325827b /scripts/const_structs.checkpatch
parent94a9680b62d4d7201b49b9448a46f6b314e01aab (diff)
nitrogen6x: Fix compile error if VIDEO_IPUV3 is disabled
Following compile error happens for mx6qsabrelite when disable CONFIG_VIDEO_IPUV3. board/boundary/nitrogen6x/nitrogen6x.c: In function 'misc_init_r': board/boundary/nitrogen6x/nitrogen6x.c:912:22: error: 'RGB_BACKLIGHT_GP' undeclared (first use in this function) 912 | gpio_request(RGB_BACKLIGHT_GP, "lvds backlight"); | ^~~~~~~~~~~~~~~~ board/boundary/nitrogen6x/nitrogen6x.c:912:22: note: each undeclared identifier is reported only once for each function it appears in CC cmd/bind.o CC drivers/gpio/gpio-uclass.o CC boot/bootmeth_extlinux.o board/boundary/nitrogen6x/nitrogen6x.c:913:22: error: 'LVDS_BACKLIGHT_GP' undeclared (first use in this function) 913 | gpio_request(LVDS_BACKLIGHT_GP, "lvds backlight"); | ^~~~~~~~~~~~~~~~~ AR arch/arm/lib/lib.a make[1]: *** [scripts/Makefile.build:271: board/boundary/nitrogen6x/nitrogen6x.o] Error 1 CC boot/bootmeth_pxe.o make: *** [Makefile:2205: board/boundary/nitrogen6x] Error 2 make: *** Waiting for unfinished jobs.... To fix this, use reported macros included in CONFIG_VIDEO_IPUV3. Fixes: 1b51e5f4cd2a ("nitrogen6x: reserve used gpios") Signed-off-by: Jacky Cao <[email protected]> Reviewed-by: Simon Gaynor <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions