linux-mips
[Top] [All Lists]

[PATCH V2] MIPS: Alchemy: pci: fix build: missing export.h

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH V2] MIPS: Alchemy: pci: fix build: missing export.h
From: Manuel Lauss <manuel.lauss@googlemail.com>
Date: Thu, 10 Nov 2011 19:52:59 +0100
Cc: 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:in-reply-to:references; bh=8jOpczxJtxDv7dHCSYhp47Xj8VL7Hyj042vKWZuueLU=; b=feXj4oBMJMTFDg4IvCHCea9GMhwJ2HPGqMIcx4vNipEBVaBGiXXdnjvhtjphPYClVA 5yTdPvqsHGCltYSEm/ngCT/+5DWL34bII7e1SRhWps9PgTlPliYbTzUu2zefXVvaVdHH 1NLSBJwzQd8f2Ks5igKebSeOG9/2wjkCc46Js=
In-reply-to: <20111110180624.GA30108@linux-mips.org>
References: <20111110180624.GA30108@linux-mips.org>
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>
---
V2: export.h instead of module.h

 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..b5ce041 100644
--- a/arch/mips/pci/pci-alchemy.c
+++ b/arch/mips/pci/pci-alchemy.c
@@ -7,6 +7,7 @@
  * Support for all devices (greater than 16) added by David Gathright.
  */
 
+#include <linux/export.h>
 #include <linux/types.h>
 #include <linux/pci.h>
 #include <linux/platform_device.h>
-- 
1.7.7.2


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