2012-02-15 19:20:57

by Danny Kukawka

[permalink] [raw]
Subject: [PATCH] adp1653: included linux/module.h twice

drivers/media/video/adp1653.c included 'linux/module.h' twice,
remove the duplicate.

Signed-off-by: Danny Kukawka <[email protected]>
---
drivers/media/video/adp1653.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/media/video/adp1653.c b/drivers/media/video/adp1653.c
index 12eedf4..6e7d094 100644
--- a/drivers/media/video/adp1653.c
+++ b/drivers/media/video/adp1653.c
@@ -33,7 +33,6 @@
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/i2c.h>
-#include <linux/module.h>
#include <linux/slab.h>
#include <linux/version.h>
#include <media/adp1653.h>
--
1.7.8.3


2012-02-16 09:28:05

by Sakari Ailus

[permalink] [raw]
Subject: Re: [PATCH] adp1653: included linux/module.h twice

Hi Danny,

On Wed, Feb 15, 2012 at 08:20:44PM +0100, Danny Kukawka wrote:
> drivers/media/video/adp1653.c included 'linux/module.h' twice,
> remove the duplicate.
>
> Signed-off-by: Danny Kukawka <[email protected]>
> ---
> drivers/media/video/adp1653.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/media/video/adp1653.c b/drivers/media/video/adp1653.c
> index 12eedf4..6e7d094 100644
> --- a/drivers/media/video/adp1653.c
> +++ b/drivers/media/video/adp1653.c
> @@ -33,7 +33,6 @@
> #include <linux/delay.h>
> #include <linux/module.h>
> #include <linux/i2c.h>
> -#include <linux/module.h>
> #include <linux/slab.h>
> #include <linux/version.h>
> #include <media/adp1653.h>

Thanks for the patch. However, I've got a patch in my tree that already
contains this change.

Kind regards,

--
Sakari Ailus
e-mail: [email protected] jabber/XMPP/Gmail: [email protected]