summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/nxp/common/emc2305.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/nxp/common/emc2305.c b/board/nxp/common/emc2305.c
index 50252bb5007..7e5151eaf5f 100644
--- a/board/nxp/common/emc2305.c
+++ b/board/nxp/common/emc2305.c
@@ -4,15 +4,13 @@
*
*/
+#include <config.h>
#include <command.h>
#include <i2c.h>
-#include <asm/global_data.h>
#include <asm/io.h>
#include "emc2305.h"
-DECLARE_GLOBAL_DATA_PTR;
-
void set_fan_speed(u8 data, int chip_addr)
{
u8 index;