From: Paul Gortmaker Date: Fri, 22 Jul 2011 22:15:07 +0000 (-0400) Subject: powerpc: convert hvconsole.c to export.h ; fix implicit use of errno.h X-Git-Tag: MMI-PSA29.97-13-9~18087^2~189 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e9848d62ab265e355652988fb33a060a9a0b2893;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- 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 @@ */ #include -#include +#include +#include #include #include #include "plpar_wrappers.h"