]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/net/smc911x.h
iTCO_wdt: fix typo when setting TCO_EN bit
[karo-tx-linux.git] / drivers / net / smc911x.h
index bf6240f23f5d77109919057cb213c06167963267..cc7d85bdfb3e5034de17312bfa9fce01421558c0 100644 (file)
 #define SMC_DYNAMIC_BUS_CONFIG
 #endif
 
+#ifdef SMC_USE_PXA_DMA
+#define SMC_USE_DMA
+#endif
+
 /* store this information for the driver.. */
 struct smc911x_local {
        /*
@@ -196,8 +200,6 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg,
 
 
 #ifdef SMC_USE_PXA_DMA
-#define SMC_USE_DMA
-
 /*
  * Define the request and free functions
  * These are unfortunately architecture specific as no generic allocation