]> git.baikalelectronics.ru Git - kernel.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>
Mon, 31 Oct 2011 23:30:43 +0000 (19:30 -0400)
commitfdd2bb02915ed464774d6cb1de2726f7f933c419
tree9f80f293c9f0e28904ea1adcbf7bdec8f1123eb1
parent39f7f16b70c230852e833f59d21f671fd6858d4f
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