[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111105001340.GJ31337@atomide.com>
Date: Fri, 4 Nov 2011 17:13:40 -0700
From: Tony Lindgren <tony@...mide.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org,
Paul Gortmaker <paul.gortmaker@...driver.com>,
Russell King <linux@....linux.org.uk>,
linux-omap@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] ARM: OMAP2+: l3-noc: Include linux/module.h
* Axel Lin <axel.lin@...il.com> [111101 18:05]:
> Include linux/module.h to fix below build error:
>
> CC arch/arm/mach-omap2/omap_l3_noc.o
> arch/arm/mach-omap2/omap_l3_noc.c:240: error: expected ',' or ';' before 'MODULE_DEVICE_TABLE'
> arch/arm/mach-omap2/omap_l3_noc.c:250: error: 'THIS_MODULE' undeclared here (not in a function)
> make[1]: *** [arch/arm/mach-omap2/omap_l3_noc.o] Error 1
> make: *** [arch/arm/mach-omap2] Error 2
>
> Signed-off-by: Axel Lin <axel.lin@...il.com>
> ---
> I got the build error by make omap2plus_defconfig on linux-next 20111101.
>
> arch/arm/mach-omap2/omap_l3_noc.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/omap_l3_noc.c b/arch/arm/mach-omap2/omap_l3_noc.c
> index c8b1bef..6a66aa5 100644
> --- a/arch/arm/mach-omap2/omap_l3_noc.c
> +++ b/arch/arm/mach-omap2/omap_l3_noc.c
> @@ -20,6 +20,7 @@
> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
> * USA
> */
> +#include <linux/module.h>
> #include <linux/init.h>
> #include <linux/io.h>
> #include <linux/platform_device.h>
Thanks applying into fixes.
Tony
--
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