summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-09-16 23:21:55 +0400
committerKim Phillips <kim.phillips@freescale.com>2009-09-25 18:25:50 -0500
commitd77c779bc23596aa3693d1c5c4d5b6e1072f93f2 (patch)
tree9eb854c8cb3a7b30a8f75e7883e2f88817c1f31d
parent6185f80c311cc3bdef2f8d5096c61e40ca6f48b2 (diff)
downloadu-boot-imx-d77c779bc23596aa3693d1c5c4d5b6e1072f93f2.zip
u-boot-imx-d77c779bc23596aa3693d1c5c4d5b6e1072f93f2.tar.gz
u-boot-imx-d77c779bc23596aa3693d1c5c4d5b6e1072f93f2.tar.bz2
net: uec: Fix uccf.h and uec.h headers to include headers they depend on
Headers should include headers containing prototypes and defines they depend on, don't assume that they're included by somebody else. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
-rw-r--r--drivers/qe/uccf.h1
-rw-r--r--drivers/qe/uec.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/qe/uccf.h b/drivers/qe/uccf.h
index 1ff9e1d..2404c6a 100644
--- a/drivers/qe/uccf.h
+++ b/drivers/qe/uccf.h
@@ -25,6 +25,7 @@
#include "common.h"
#include "qe.h"
+#include "asm/immap_qe.h"
/* Fast or Giga ethernet
*/
diff --git a/drivers/qe/uec.h b/drivers/qe/uec.h
index df6f7c9..febfbce 100644
--- a/drivers/qe/uec.h
+++ b/drivers/qe/uec.h
@@ -23,6 +23,9 @@
#ifndef __UEC_H__
#define __UEC_H__
+#include "qe.h"
+#include "uccf.h"
+
#define MAX_TX_THREADS 8
#define MAX_RX_THREADS 8
#define MAX_TX_QUEUES 8