summaryrefslogtreecommitdiff
path: root/src/superio/smsc/lpc47m10x/lpc47m10x.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2015-01-04 16:24:14 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2015-01-04 13:48:23 +0100
commitc3e77fc95380560f21dba7923b4aaa4ec35864c8 (patch)
treef23cc03dab761eb7216a13ee20251c9fa9b1c9e9 /src/superio/smsc/lpc47m10x/lpc47m10x.h
parent536a44390d719a92cda72dbe76cea38c8c62a92b (diff)
downloadcoreboot-c3e77fc95380560f21dba7923b4aaa4ec35864c8.tar.xz
superio/smsc/lpc47m10x: Use link-time symbols over .c inclusion
Change-Id: I4a3639c05231eacd016ec3873330f9844befd448 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/8080 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/superio/smsc/lpc47m10x/lpc47m10x.h')
-rw-r--r--src/superio/smsc/lpc47m10x/lpc47m10x.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/superio/smsc/lpc47m10x/lpc47m10x.h b/src/superio/smsc/lpc47m10x/lpc47m10x.h
index e85104884c..9814c8e56f 100644
--- a/src/superio/smsc/lpc47m10x/lpc47m10x.h
+++ b/src/superio/smsc/lpc47m10x/lpc47m10x.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef SUPERIO_SMSC_LPC47M10X_LPC47M10X_H
-#define SUPERIO_SMSC_LPC47M10X_LPC47M10X_H
+#ifndef SUPERIO_SMSC_LPC47M10X_H
+#define SUPERIO_SMSC_LPC47M10X_H
#define LPC47M10X2_FDC 0 /* Floppy */
#define LPC47M10X2_PP 3 /* Parallel Port */
@@ -34,4 +34,9 @@
#define LPC47M10X2_MAX_CONFIG_REGISTER 0x5F
-#endif
+#include <arch/io.h>
+#include <stdint.h>
+
+void lpc47m10x_enable_serial(pnp_devfn_t dev, u16 iobase);
+
+#endif /* SUPERIO_SMSC_LPC47M10X_H */