]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: convert hvconsole.c to export.h ; fix implicit use of errno.h
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 22 Jul 2011 22:15:07 +0000 (18:15 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Tue, 2 Aug 2011 16:37:07 +0000 (12:37 -0400)
commit71ff5737964a3b5205b98630041f7a18c98b6974
tree2dd0096f745f4377be8303e8e48fffe35828570c
parent46e665b888c8d4c6a80f9aa6efcc8d04f6ec199e
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>
arch/powerpc/platforms/pseries/hvconsole.c