Re: [PATCH] ethernet: add export.h in davinci_cpdma.c

From: David Miller
Date: Sun Jul 01 2012 - 21:33:35 EST


From: "Kim, Milo" <Milo.Kim@xxxxxx>
Date: Mon, 2 Jul 2012 01:17:03 +0000

> To remove warning messages about 'EXPORT_SYMBOL_GPL', include export header.
...
> @@ -19,6 +19,7 @@
> #include <linux/err.h>
> #include <linux/dma-mapping.h>
> #include <linux/io.h>
> +#include <linux/export.h>

You aren't generating this patch against current sources, otherwise
you'd see that linux/module.h is included in this driver and therefore
the problem you ran into is not possible.
--
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/