linux-mips
[Top] [All Lists]

[PATCH 2/2] MIPS: JZ4740: add missing header file to serial.h

To: linux-mips@linux-mips.org
Subject: [PATCH 2/2] MIPS: JZ4740: add missing header file to serial.h
From: Antony Pavlov <antonynpavlov@gmail.com>
Date: Tue, 16 Oct 2012 01:38:47 +0400
Cc: Ralf Baechle <ralf@linux-mips.org>, Lars-Peter Clausen <lars@metafoo.de>, Antony Pavlov <antonynpavlov@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=kEmcfkbqJdebmBvxHRMgJ7EzdbzcjIrov3M7D4WQElE=; b=Kb2ahKv67P33s0veZJoPym+ODVshSPpz69mGmy9r71Bm6kfNStKlnsoaXn+5+xTxKP g9VoNTstWwON2ROvKsjbS13qDbbgForN1bpO4fT/PStAxRc+k+B/F0gE1kspQXH73zgT 5+jTjHA2vDLwZ1e6xht/Dkeugj9fXA09LHj3DSmTw3POI2EL/2AfaoIQ/g8PNPwPL0RT IdFWr3FA//3IeRi8zTqVMMe17EluT+XO9FkDmCWgkUd63xmW00NMa0rNJhw8r76RfjqV jNqfjqgei3ckm1Y1Flm1urrSGn8VPIDECMd63X7SYoVhIRoFCOvK4ymBY/hDudvWxF/9 S31w==
In-reply-to: <1350337127-11315-1-git-send-email-antonynpavlov@gmail.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1350337127-11315-1-git-send-email-antonynpavlov@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
The 'uart_port' struct is used in the declaration of
the jz4740_serial_out() function.
This commit adds the missing header file containing
declaration of the 'uart_port' struct.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 arch/mips/jz4740/serial.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/jz4740/serial.h b/arch/mips/jz4740/serial.h
index aa5a939..dfc155c 100644
--- a/arch/mips/jz4740/serial.h
+++ b/arch/mips/jz4740/serial.h
@@ -16,6 +16,8 @@
 #ifndef __MIPS_JZ4740_SERIAL_H__
 #define __MIPS_JZ4740_SERIAL_H__
 
+#include <linux/serial_core.h>
+
 void jz4740_serial_out(struct uart_port *p, int offset, int value);
 
 #endif
-- 
1.7.10.4


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