Skip to contentSkip to conversation

net: uec: Fix uccf.h and uec.h headers to include headers they depend on

PATCH New Anton Vorontsov 1 participant 1 message Sep 16, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 2/5 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.

---
 drivers/qe/uccf.h |    1 +
 drivers/qe/uec.h  |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)
drivers/qe/uccf.h +1 -0
index 1ff9e1d..2404c6a 100644
@@ -25,6 +25,7 @@
 
 #include "common.h"
 #include "qe.h"
+#include "asm/immap_qe.h"
 
 /* Fast or Giga ethernet
 */
drivers/qe/uec.h +3 -0
index df6f7c9..febfbce 100644
@@ -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
Signature · 1 line
1.6.3.3