From 900de2ce2b749d1d78acfeeae31445d79a9fad98 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Tue, 31 Aug 2010 14:12:11 +0200 Subject: [PATCH 24/53] DMAENGINE: remove pointless module safeguard on PL08X The PL08X driver safeguards itself from being compiled as a module for no reason: the Kconfig option is a bool anyway. Signed-off-by: Linus Walleij --- drivers/dma/amba-pl08x.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index a7ce08e..f80fc4b 100644 --- a/drivers/dma/amba-pl08x.c +++ b/drivers/dma/amba-pl08x.c @@ -130,18 +130,6 @@ struct pl08x_driver_data { spinlock_t lock; }; -#ifdef MODULE - -# error "AMBA PL08X DMA CANNOT BE COMPILED AS A LOADABLE MODULE AT PRESENT" - -/* - a) Some devices might make use of DMA during boot - (esp true for DMAENGINE implementation) - b) Memory allocation will need much more attention - before load/unload can be supported - */ -#endif - /* * PL08X specific defines */ -- 1.6.3.3