Re: [PATCH] dmaengine i.MX DMA/SDMA: add missing include oflinux/module.h

From: Wolfram Sang
Date: Fri Sep 02 2011 - 04:21:44 EST


On Tue, Aug 30, 2011 at 03:08:24PM +0800, Axel Lin wrote:
> Add missing include of linux/module.h to fix build error.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>

Sascha is on holiday, so please accept my:

Acked-by: Wolfram Sang <w.sang@xxxxxxxxxxxxxx>

> ---
> drivers/dma/imx-dma.c | 1 +
> drivers/dma/imx-sdma.c | 1 +
> 2 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c
> index d99f71c..d746899 100644
> --- a/drivers/dma/imx-dma.c
> +++ b/drivers/dma/imx-dma.c
> @@ -14,6 +14,7 @@
> * http://www.gnu.org/copyleft/gpl.html
> */
> #include <linux/init.h>
> +#include <linux/module.h>
> #include <linux/types.h>
> #include <linux/mm.h>
> #include <linux/interrupt.h>
> diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
> index b5cc27d..eab1fe7 100644
> --- a/drivers/dma/imx-sdma.c
> +++ b/drivers/dma/imx-sdma.c
> @@ -18,6 +18,7 @@
> */
>
> #include <linux/init.h>
> +#include <linux/module.h>
> #include <linux/types.h>
> #include <linux/mm.h>
> #include <linux/interrupt.h>
> --
> 1.7.4.1
>
>
>
> --
> 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/

--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |

Attachment: signature.asc
Description: Digital signature