]> 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>
Thu, 11 Aug 2011 19:10:29 +0000 (15:10 -0400)
commit4ecd620a345f8b7d1f8f64e035c0c13cf37c9481
tree029f491ac971dd2724a7d57e0b23544ffe4dbcd9
parent7641758fd5e2b30e73f10030eb8b2e94ee0d6a1f
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