[PATCH 09/12] DMAENGINE: remove pointless module safeguard on PL08X

From: Linus Walleij
Date: Tue Aug 31 2010 - 08:14:21 EST


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 <linus.walleij@xxxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/