linux-mips
[Top] [All Lists]

[PATCH 2/5] serial: MIPS swarm sb1250-duart.c driver needs module.h

To: ralf@linux-mips.org
Subject: [PATCH 2/5] serial: MIPS swarm sb1250-duart.c driver needs module.h
From: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Tue, 28 Feb 2012 14:24:45 -0500
Cc: linux-mips@linux-mips.org, Paul Gortmaker <paul.gortmaker@windriver.com>
In-reply-to: <1330457088-14587-1-git-send-email-paul.gortmaker@windriver.com>
References: <1330457088-14587-1-git-send-email-paul.gortmaker@windriver.com>
Sender: linux-mips-bounce@linux-mips.org
This driver is a module and needs module.h, otherwise
it will break when we remove a bogus usage of module.h
from one of the other MIPS headers.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 drivers/tty/serial/sb1250-duart.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/tty/serial/sb1250-duart.c 
b/drivers/tty/serial/sb1250-duart.c
index 0be8a2f..f76b1688 100644
--- a/drivers/tty/serial/sb1250-duart.c
+++ b/drivers/tty/serial/sb1250-duart.c
@@ -31,6 +31,7 @@
 #include <linux/interrupt.h>
 #include <linux/ioport.h>
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/major.h>
 #include <linux/serial.h>
 #include <linux/serial_core.h>
-- 
1.7.9.1


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