net: uec: Fix uccf.h and uec.h headers to include headers they depend on
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 16 Sep 2009 19:21:55 +0000 (23:21 +0400)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 25 Sep 2009 23:25:50 +0000 (18:25 -0500)
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>
drivers/qe/uccf.h
drivers/qe/uec.h

index 1ff9e1daf59ccaddf3d0b97613943112af608981..2404c6a8f0ef37962f19644925cc076b013730eb 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "common.h"
 #include "qe.h"
+#include "asm/immap_qe.h"
 
 /* Fast or Giga ethernet
 */
index df6f7c987817f5b688695cda611442e3c743523e..febfbcef532614600db62070a9017c79b8813c8e 100644 (file)
@@ -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