Re: [PATCH 2/3] staging: ozwpan: Fix compilation issue due to export.h

From: Rupesh Gujare
Date: Wed Jun 27 2012 - 05:55:28 EST


On 26/06/12 23:07, Greg KH wrote:
On Tue, Jun 26, 2012 at 01:03:40PM +0100, Rupesh Gujare wrote:
Fixes compilation error caused due to header file.

Signed-off-by: Rupesh Gujare <rgujare@xxxxxxxxxxxxxxx>
---
drivers/staging/ozwpan/ozhcd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c
index 251f07c..e3efa41 100644
--- a/drivers/staging/ozwpan/ozhcd.c
+++ b/drivers/staging/ozwpan/ozhcd.c
@@ -28,7 +28,7 @@
#include <linux/usb.h>
#include <linux/jiffies.h>
#include <linux/slab.h>
-#include <linux/export.h>
+#include <linux/module.h>
I don't understand, what is this fixing? It builds for me ok here, why
is module.h needed instead of export.h?

confused,

Greg,

Sorry about that. Looks like I tried to compile against distribution kernel, which was throwing error.
Please ignore this patch.

--
Regards,
Rupesh Gujare


--
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/