]> git.sur5r.net Git - u-boot/blobdiff - libfdt/fdt_strerror.c
[BUILD] conditionally compile libfdt/*.c in libfdt/Makefile
[u-boot] / libfdt / fdt_strerror.c
index b49c952f346023d4e5441f39c7f2b51ed394f995..7f231ce460e79faab020e6337f86be137da306af 100644 (file)
@@ -16,9 +16,6 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
-#include "config.h"
-#if CONFIG_OF_LIBFDT
-
 #include "libfdt_env.h"
 
 #include <fdt.h>
@@ -65,5 +62,3 @@ const char *fdt_strerror(int errval)
 
        return "<unknown error>";
 }
-
-#endif /* CONFIG_OF_LIBFDT */