diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index cc09e06c730d993c06f3cc5798ef02077807d979..af17ac1b7a1cdc24bd40f30dd2e1a2b149a42936 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -24,8 +24,7 @@
 #include <libfdt.h>
 #include <fdtdec.h>
 
-/* we need the generic GPIO interface here */
-#include <asm-generic/gpio.h>
+#include <asm/gpio.h>
 
 DECLARE_GLOBAL_DATA_PTR;