diff options
| author | Sergei Antonov <[email protected]> | 2023-06-13 00:19:04 +0300 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2023-07-20 14:10:57 -0600 |
| commit | 76e160761777ae9e93b209a73ed6c417ddb68cc9 (patch) | |
| tree | 55cab08ab1cb7e285921e0bafa623a0dd57af228 /boot/bootmeth_script.c | |
| parent | 77224320f05834344581f8b5d939907925876b3d (diff) | |
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 <[email protected]>
Suggested-by: Tom Rini <[email protected]>
Signed-off-by: Sergei Antonov <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'boot/bootmeth_script.c')
0 files changed, 0 insertions, 0 deletions
