Sergei Antonov 76e1607617 sandbox: fix a compilation error
With sandbox and sandbox64 configurations:

In file included from .../u-boot/include/test/test.h:156,
                 from .../u-boot/include/test/lib.h:9,
                 from .../u-boot/test/lib/test_crc8.c:8:
.../u-boot/arch/sandbox/include/asm/test.h: In function ‘sandbox_sdl_set_bpp’:
.../u-boot/arch/sandbox/include/asm/test.h:323:17: error: ‘ENOSYS’ undeclared (first use in this function)
  323 |         return -ENOSYS;
      |                 ^~~~~~

Per Tom Rini's suggestion:
move that function prototype over to arch/sandbox/include/asm/sdl.h
and make test/dm/video.c include <asm/sdl.h>

Cc: Simon Glass <sjg@chromium.org>
Suggested-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Sergei Antonov <saproj@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-07-20 14:10:57 -06:00
..
2022-12-22 10:31:48 -05:00
2022-01-19 18:11:34 +01:00
2022-06-23 12:58:18 -04:00
2022-01-19 18:11:34 +01:00
2021-09-25 09:46:15 -06:00
2016-10-19 09:01:53 +02:00
2023-03-02 17:45:58 -05:00
2023-07-20 14:10:57 -06:00
2022-06-23 12:58:18 -04:00
2022-04-14 15:39:15 -04:00
2018-09-23 21:55:30 +02:00
2023-07-20 14:10:57 -06:00