2012-02-15 17:55:57

by Danny Kukawka

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


drivers/usb/dwc3/core.c and drivers/usb/dwc3/dwc3-omap.c
included 'linux/module.h' twice, remove the duplicates.

Signed-off-by: Danny Kukawka <[email protected]>
---
drivers/usb/dwc3/core.c | 1 -
drivers/usb/dwc3/dwc3-omap.c | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index 7c9df63..eed4a5b 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -51,7 +51,6 @@

#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
-#include <linux/module.h>

#include "core.h"
#include "gadget.h"
diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c
index 3274ac8..92cc7b8 100644
--- a/drivers/usb/dwc3/dwc3-omap.c
+++ b/drivers/usb/dwc3/dwc3-omap.c
@@ -46,7 +46,6 @@
#include <linux/dma-mapping.h>
#include <linux/ioport.h>
#include <linux/io.h>
-#include <linux/module.h>

#include "core.h"
#include "io.h"
--
1.7.8.3


2012-02-23 10:04:34

by Felipe Balbi

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

Hi,

On Wed, Feb 15, 2012 at 06:55:51PM +0100, Danny Kukawka wrote:
>
> drivers/usb/dwc3/core.c and drivers/usb/dwc3/dwc3-omap.c
> included 'linux/module.h' twice, remove the duplicates.
>
> Signed-off-by: Danny Kukawka <[email protected]>

applied, thanks

--
balbi


Attachments:
(No filename) (276.00 B)
signature.asc (836.00 B)
Digital signature
Download all attachments