]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
spi: Add <errno.h> to spi-mem-nodm.c
authorTom Rini <trini@konsulko.com>
Wed, 1 Nov 2023 16:28:10 +0000 (12:28 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 7 Nov 2023 19:50:51 +0000 (14:50 -0500)
This file uses errno return values in functions, so include <errno.h>
here rather than rely on indirect inclusion.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/spi/spi-mem-nodm.c

index 77ddb19a9f32986af5c69242f2c8fb23817832ec..f9cadcc026dcdb6e78ad12b1a8c6491f1409d281 100644 (file)
@@ -3,6 +3,7 @@
  * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
  */
 
+#include <errno.h>
 #include <log.h>
 #include <malloc.h>
 #include <spi.h>