Patchwork MIPS: Alchemy: db1300: fix build: missing module.h

login
register
mail settings
Submitter Manuel Lauss
Date Nov. 9, 2011, 6:38 p.m.
Message ID <1320863926-6168-1-git-send-email-manuel.lauss@googlemail.com>
Download mbox | patch
Permalink /patch/2919/
State Accepted
Delegated to: Ralf Baechle
Headers show

Comments

Manuel Lauss - Nov. 9, 2011, 6:38 p.m.
add module.h to fix build (symbol_get/symbol_put) against 3.2-rc1

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
---
Please fold into "[PATCH 05/18] Basic support for the DB1300 board."

 arch/mips/alchemy/devboards/db1300.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
root - Nov. 9, 2011, 6:48 p.m.
On Wed, Nov 09, 2011 at 07:38:46PM +0100, Manuel Lauss wrote:

> add module.h to fix build (symbol_get/symbol_put) against 3.2-rc1
> 
> Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
> ---
> Please fold into "[PATCH 05/18] Basic support for the DB1300 board."

Done.

  Ralf

Patch

diff --git a/arch/mips/alchemy/devboards/db1300.c b/arch/mips/alchemy/devboards/db1300.c
index 23fd4ff..0893f2a 100644
--- a/arch/mips/alchemy/devboards/db1300.c
+++ b/arch/mips/alchemy/devboards/db1300.c
@@ -14,6 +14,7 @@ 
 #include <linux/leds.h>
 #include <linux/ata_platform.h>
 #include <linux/mmc/host.h>
+#include <linux/module.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
 #include <linux/mtd/partitions.h>