]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-socfpga/freeze_controller.c
Remove unnecessary instances of DECLARE_GLOBAL_DATA_PTR
[u-boot] / arch / arm / mach-socfpga / freeze_controller.c
index 2b1679555490af094c5808c5c4440fbc44697f82..62fa854082e7d6c25ab61b303cfdd4e49d4f32c4 100644 (file)
@@ -9,9 +9,7 @@
 #include <asm/io.h>
 #include <asm/arch/clock_manager.h>
 #include <asm/arch/freeze_controller.h>
-#include <asm/errno.h>
-
-DECLARE_GLOBAL_DATA_PTR;
+#include <linux/errno.h>
 
 static const struct socfpga_freeze_controller *freeze_controller_base =
                (void *)(SOCFPGA_SYSMGR_ADDRESS + SYSMGR_FRZCTRL_ADDRESS);