]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
gpio: pca953x: Add missing <asm/byteorder.h>
authorTom Rini <trini@konsulko.com>
Wed, 14 May 2025 18:39:35 +0000 (12:39 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 14 May 2025 18:39:35 +0000 (12:39 -0600)
This driver takes a long implicit include path to get this header which
it directly uses. Add it.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/gpio/pca953x.c

index 2fb14590c0fec134dee400c0e2e493b8799b237c..f0a79b92b024879cf034e13fe27897170ded03a7 100644 (file)
@@ -13,6 +13,7 @@
 #include <i2c.h>
 #include <pca953x.h>
 #include <vsprintf.h>
+#include <asm/byteorder.h>
 
 /* Default to an address that hopefully won't corrupt other i2c devices */
 #ifndef CFG_SYS_I2C_PCA953X_ADDR