Title: [7496] trunk/drivers/serial/bfin_5xx.c: bfin_5xx: just include the headers all the time
Revision
7496
Author
vapier
Date
2009-09-28 14:52:22 -0400 (Mon, 28 Sep 2009)

Log Message

bfin_5xx: just include the headers all the time

Modified Paths


Diff

Modified: trunk/drivers/serial/bfin_5xx.c (7495 => 7496)


--- trunk/drivers/serial/bfin_5xx.c	2009-09-28 12:30:47 UTC (rev 7495)
+++ trunk/drivers/serial/bfin_5xx.c	2009-09-28 18:52:22 UTC (rev 7496)
@@ -28,18 +28,12 @@
 #include <linux/io.h>
 #include <linux/irq.h>
 #include <linux/kgdb.h>
+#include <linux/dma-mapping.h>
 
 #include <asm/portmux.h>
 #include <asm/cacheflush.h>
 #include <asm/bfin_serial.h>
-
-/* DMA head is used by bf54x in PIO mode as well. See bellow.*/
-#if defined(CONFIG_SERIAL_BFIN_DMA) || defined(CONFIG_BF54x)
 #include <asm/dma.h>
-#endif
-#ifdef CONFIG_SERIAL_BFIN_DMA
-#include <linux/dma-mapping.h>
-#endif
 
 #ifdef CONFIG_SERIAL_BFIN_MODULE
 # undef CONFIG_EARLY_PRINTK
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to