aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-22 18:15:07 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:30:43 -0400
commite9848d62ab265e355652988fb33a060a9a0b2893 (patch)
tree9f80f293c9f0e28904ea1adcbf7bdec8f1123eb1
parent614f15b4fcec4d55641f8977316b4570f9dd1b70 (diff)
powerpc: convert hvconsole.c to export.h ; fix implicit use of errno.h
This file is only exporting symbols and so should use export.h and not module.h header. But in doing the conversion, we will uncover that it was implicitly using errno.h via module.h: CC arch/powerpc/platforms/pseries/hvconsole.o arch/powerpc/platforms/pseries/hvconsole.c: In function 'hvc_put_chars': arch/powerpc/platforms/pseries/hvconsole.c:77: error: 'EIO' undeclared (first use in this function) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
-rw-r--r--arch/powerpc/platforms/pseries/hvconsole.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/hvconsole.c b/arch/powerpc/platforms/pseries/hvconsole.c
index 041e87ca1893..b344f94b0400 100644
--- a/arch/powerpc/platforms/pseries/hvconsole.c
+++ b/arch/powerpc/platforms/pseries/hvconsole.c
@@ -24,7 +24,8 @@
24 */ 24 */
25 25
26#include <linux/kernel.h> 26#include <linux/kernel.h>
27#include <linux/module.h> 27#include <linux/export.h>
28#include <linux/errno.h>
28#include <asm/hvcall.h> 29#include <asm/hvcall.h>
29#include <asm/hvconsole.h> 30#include <asm/hvconsole.h>
30#include "plpar_wrappers.h" 31#include "plpar_wrappers.h"