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