[PATCH 09/12] DMAENGINE: remove pointless module safeguard on PL08X
Linus Walleij
linus.walleij at stericsson.com
Tue Aug 31 08:12:11 EDT 2010
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 at stericsson.com>
---
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
More information about the linux-arm-kernel
mailing list