net/irda: bfin_sir: pull in serial headers for defines
authorMike Frysinger <vapier@gentoo.org>
Thu, 28 Oct 2010 19:43:50 +0000 (15:43 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 10 Jan 2011 12:18:02 +0000 (07:18 -0500)
We're in the process of cleaning up the global Blackfin namespace, so the
bfin_sir driver needs to pull in the serial header explicitly now.

This does add a little transitional cruft to keep things compiling, but a
follow up patch in this series will cull that.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/net/irda/bfin_sir.h

index b54a6f0..1d33564 100644 (file)
 #include <asm/cacheflush.h>
 #include <asm/dma.h>
 #include <asm/portmux.h>
+/* Some transitional glue */
+#include <linux/serial_core.h>
+#include <linux/circ_buf.h>
+#include <mach/bfin_serial_5xx.h>
+#undef DRIVER_NAME
 
 #ifdef CONFIG_SIR_BFIN_DMA
 struct dma_rx_buf {