Message ID | 4B263A4F.8050302@gmail.com |
---|---|
State | Awaiting Upstream, archived |
Delegated to: | David Miller |
Headers | show |
Hello, Because our system, we have had to disable the dma for our chip :) We don't know why yet... However, when disabling the DMA, there are a couple of cpp errors, which this patch fixes. Greetings, Ryan -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/smc911x.h b/drivers/net/smc911x.h index 05adb6a..e83213a 100644 --- a/drivers/net/smc911x.h +++ b/drivers/net/smc911x.h @@ -60,7 +60,7 @@ #define SMC_DYNAMIC_BUS_CONFIG #endif -#ifdef SMC_USE_PXA_DMA +#if SMC_USE_PXA_DMA == 1 #define SMC_USE_DMA #endif @@ -209,7 +209,7 @@ static inline void SMC_outsl(struct smc911x_local *lp, int reg, #endif /* SMC_DYNAMIC_BUS_CONFIG */ -#ifdef SMC_USE_PXA_DMA +#if SMC_USE_PXA_DMA == 1 #include <mach/dma.h>