Bläddra i källkod

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>
Anton Vorontsov 15 år sedan
förälder
incheckning
d77c779bc2
2 ändrade filer med 4 tillägg och 0 borttagningar
  1. 1 0
      drivers/qe/uccf.h
  2. 3 0
      drivers/qe/uec.h

+ 1 - 0
drivers/qe/uccf.h

@@ -25,6 +25,7 @@
 
 
 #include "common.h"
 #include "common.h"
 #include "qe.h"
 #include "qe.h"
+#include "asm/immap_qe.h"
 
 
 /* Fast or Giga ethernet
 /* Fast or Giga ethernet
 */
 */

+ 3 - 0
drivers/qe/uec.h

@@ -23,6 +23,9 @@
 #ifndef __UEC_H__
 #ifndef __UEC_H__
 #define __UEC_H__
 #define __UEC_H__
 
 
+#include "qe.h"
+#include "uccf.h"
+
 #define MAX_TX_THREADS				8
 #define MAX_TX_THREADS				8
 #define MAX_RX_THREADS				8
 #define MAX_RX_THREADS				8
 #define MAX_TX_QUEUES				8
 #define MAX_TX_QUEUES				8