summaryrefslogtreecommitdiffstats
path: root/src/superio/nsc/pc97317/pc97317.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2015-01-04 16:05:59 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2015-01-04 13:47:45 +0100
commitfc4e8550afc5aab4af7801e2e008a8712f8c7795 (patch)
treefbc6c5e86af512f85c55a5b3e8e82c0e9873dcd0 /src/superio/nsc/pc97317/pc97317.h
parente64f5b1bcd589b4ac517909f5332f9926ab7d642 (diff)
downloadcoreboot-fc4e8550afc5aab4af7801e2e008a8712f8c7795.tar.gz
coreboot-fc4e8550afc5aab4af7801e2e008a8712f8c7795.tar.bz2
coreboot-fc4e8550afc5aab4af7801e2e008a8712f8c7795.zip
superio/nsc/pc97317: Use link-time symbols over .c inclusion
Change-Id: Ia45bc7a880d0dab57c56a0452858cd26626f09df Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/8076 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/superio/nsc/pc97317/pc97317.h')
-rw-r--r--src/superio/nsc/pc97317/pc97317.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/superio/nsc/pc97317/pc97317.h b/src/superio/nsc/pc97317/pc97317.h
index 8b57fc95b5ce..6938cb419d84 100644
--- a/src/superio/nsc/pc97317/pc97317.h
+++ b/src/superio/nsc/pc97317/pc97317.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef SUPERIO_NSC_PC97317_PC97317_H
-#define SUPERIO_NSC_PC97317_PC97317_H
+#ifndef SUPERIO_NSC_PC97317_H
+#define SUPERIO_NSC_PC97317_H
#define PC97317_KBCK 0x00 /* Keyboard */
#define PC97317_KBCM 0x01 /* Mouse */
@@ -31,4 +31,9 @@
#define PC97317_GPIO 0x07
#define PC97317_PM 0x08 /* Power Management */
-#endif
+#include <arch/io.h>
+#include <stdint.h>
+
+void pc97317_enable_serial(pnp_devfn_t dev, u16 iobase);
+
+#endif /* SUPERIO_NSC_PC97317_H */