From db1a2fb3df73fe65381b52089fb890ba3c4f5122 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Sun, 4 Jan 2015 16:10:32 +1100 Subject: superio/nsc/pc87366: Use link-time symbols over .c inclusion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id156ca3c9a14c5bcc4d6cdb8434ca8efdac3139a Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/8077 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/superio/nsc/pc87366/pc87366.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/superio/nsc/pc87366/pc87366.h') diff --git a/src/superio/nsc/pc87366/pc87366.h b/src/superio/nsc/pc87366/pc87366.h index 8a1ede7a67..dea8ddf610 100644 --- a/src/superio/nsc/pc87366/pc87366.h +++ b/src/superio/nsc/pc87366/pc87366.h @@ -19,8 +19,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef SUPERIO_NSC_PC87366_PC87366_H -#define SUPERIO_NSC_PC87366_PC87366_H +#ifndef SUPERIO_NSC_PC87366_H +#define SUPERIO_NSC_PC87366_H #define PC87366_FDC 0x00 /* Floppy */ #define PC87366_PP 0x01 /* Parallel port */ @@ -38,4 +38,9 @@ #define PC87366_VLM 0x0D #define PC87366_TMS 0x0E -#endif +#include +#include + +void pc87366_enable_serial(pnp_devfn_t dev, u16 iobase); + +#endif /* SUPERIO_NSC_PC87366_H */ -- cgit v1.2.3