diff --git a/configs/boardctl.c b/configs/boardctl.c index 2a690a671a..9208d5e73a 100644 --- a/configs/boardctl.c +++ b/configs/boardctl.c @@ -214,7 +214,7 @@ int boardctl(unsigned int cmd, uintptr_t arg) case BOARDIOC_GRAPHICS_SETUP: { - FAR struct boardioc_graphics_s *setup = + FAR struct boardioc_graphics_s *setup = ( FAR struct boardioc_graphics_s *)arg; setup->dev = board_graphics_setup(setup->devno);