Re: [PATCH linux-next] mfd: omap-usb-host: add module.h and export.hto fix build break

From: Samuel Ortiz
Date: Mon Aug 22 2011 - 11:04:53 EST


Hi Anand,

On Fri, Aug 19, 2011 at 08:54:05PM +0530, Anand Gadiyar wrote:
> 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@xxxxxx>
> Cc: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
> Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx>
I applied a similar patch (without the +#include <linux/export.h>) from Ming
Lei <tom.leiming@xxxxxxxxx>.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
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/