]> 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, 25 Aug 2011 17:54:45 +0000 (13:54 -0400)
commit9e9c1d5e7872cd04fcc5359eb8deb50a17f93c68
tree0646b2f8d92e3dc23b87569d2f8c1b04dee70840
parentefc730d9e731a84245d2362e7ba4e5d349bc8d9d
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