dm: core: Create a new header file for 'compat' features
[oweals/u-boot.git] / drivers / gpio / pca9698.c
index 3152bf6df3e9cb8737732134ab7ace761cb1c235..11274c781017a0ca1cc6180e142931575d8b9d67 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2011
- * Dirk Eibach,  Guntermann & Drunck GmbH, eibach@gdsys.de
- *
- * SPDX-License-Identifier:    GPL-2.0+
+ * Dirk Eibach,  Guntermann & Drunck GmbH, dirk.eibach@gdsys.cc
  */
 
 /*
@@ -11,7 +10,8 @@
 
 #include <common.h>
 #include <i2c.h>
-#include <asm/errno.h>
+#include <malloc.h>
+#include <linux/errno.h>
 #include <pca9698.h>
 
 /*