]> 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>
Sun, 31 Jul 2011 08:05:16 +0000 (04:05 -0400)
commit56fe52d095f871c28c610ef57d0651ec613535b1
treefa831c8c4c0080361e478f9929db6c9ce1e598f3
parentb407ae5b7453b2dce9aa25f245a5235ba83241d1
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