[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1313767445-20033-1-git-send-email-gadiyar@ti.com>
Date: Fri, 19 Aug 2011 20:54:05 +0530
From: Anand Gadiyar <gadiyar@...com>
To: <linux-kernel@...r.kernel.org>, <linux-next@...r.kernel.org>
CC: Anand Gadiyar <gadiyar@...com>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
Samuel Ortiz <sameo@...ux.intel.com>
Subject: [PATCH linux-next] mfd: omap-usb-host: add module.h and export.h to fix build break
linux-next as of 20110817 fails to build if these two headers
are not included. Including module.h is sufficient for now,
but add export.h for EXPORT_SYMBOL and THIS_MODULE in advance
to avoid a later build break.
Signed-off-by: Anand Gadiyar <gadiyar@...com>
Cc: Paul Gortmaker <paul.gortmaker@...driver.com>
Cc: Samuel Ortiz <sameo@...ux.intel.com>
---
Noticed this while testing another patch. I see similar
changes to other files in drivers/mfd made by Paul recently.
drivers/mfd/omap-usb-host.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6/drivers/mfd/omap-usb-host.c
===================================================================
--- linux-2.6.orig/drivers/mfd/omap-usb-host.c
+++ linux-2.6/drivers/mfd/omap-usb-host.c
@@ -20,6 +20,8 @@
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/delay.h>
+#include <linux/export.h>
+#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/dma-mapping.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists