linux-mips
[Top] [All Lists]

[PATCH mips-next] MIPS: Alchemy: pci: fix build: missing module.h

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH mips-next] MIPS: Alchemy: pci: fix build: missing module.h
From: Manuel Lauss <manuel.lauss@googlemail.com>
Date: Wed, 9 Nov 2011 20:02:42 +0100
Cc: Linux-MIPS <linux-mips@linux-mips.org>, Manuel Lauss <manuel.lauss@googlemail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=ggCnr99nNeXI5fXEXmgbuqggkJdjp1H/dAR+yexiQhY=; b=qVTT2plUEqXQKYlAaRFAv+oyp6V4kTDhPTbOl5ftBSQlNJI7CL6di1f624m9ZibxnW a7I5VcQcUXvoWefp+GaUCCaPEGD2lL8OQ6L4kadbeJ/2gciUzqiCwUSGR2aC5RNOQOxP UrAtXspfPaDsh4PeOolZCFmtvFhW+uYwkfr5s=
Sender: linux-mips-bounce@linux-mips.org
fixes:
pci-alchemy.c:487:12: error: 'THIS_MODULE' undeclared here [...]

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
---
This is a new one in 3.2-rc1.

 arch/mips/pci/pci-alchemy.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/mips/pci/pci-alchemy.c b/arch/mips/pci/pci-alchemy.c
index 4ee5710..b7779a3 100644
--- a/arch/mips/pci/pci-alchemy.c
+++ b/arch/mips/pci/pci-alchemy.c
@@ -12,6 +12,7 @@
 #include <linux/platform_device.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <linux/module.h>
 #include <linux/vmalloc.h>
 
 #include <asm/mach-au1x00/au1000.h>
-- 
1.7.7.2


<Prev in Thread] Current Thread [Next in Thread>