summaryrefslogtreecommitdiff
path: root/src/superio/fintek/f81216h/f81216h.h
diff options
context:
space:
mode:
authorDave Frodin <dave.frodin@se-eng.com>2015-01-19 13:33:12 -0700
committerDave Frodin <dave.frodin@se-eng.com>2015-02-04 15:45:39 +0100
commit17ace82552875b08fe723c546e64254a2ddc623d (patch)
tree883b0715cdf206fe5b2585194ff45a69c715b04a /src/superio/fintek/f81216h/f81216h.h
parent1608f3651f79d4b9136b020b74d29632262e896a (diff)
superio/fintek: Add required changes so F81216H can be used
The amd/lamar mainboard is the first mainboard to use the f81216h. These changes are needed to fix up commit 27a63d77 so the Super I/O builds and functions correctly. - Wrong #include name - Removed global variable in romstage - Missing "case" in switch() Change-Id: I1b2058a915b776664fba14e4341e8a410b50330f Signed-off-by: Dave Frodin <dave.frodin@se-eng.com> Reviewed-on: http://review.coreboot.org/8255 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/superio/fintek/f81216h/f81216h.h')
-rw-r--r--src/superio/fintek/f81216h/f81216h.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/superio/fintek/f81216h/f81216h.h b/src/superio/fintek/f81216h/f81216h.h
index 37e7753e6c..3b88d87a1f 100644
--- a/src/superio/fintek/f81216h/f81216h.h
+++ b/src/superio/fintek/f81216h/f81216h.h
@@ -34,13 +34,13 @@
* the default key.
* See page 17 of data sheet for details.
*/
-enum {
+typedef enum {
MODE_6767,
MODE_7777,
MODE_8787,
MODE_A0A0,
} mode_key;
-void f81216h_enable_serial(pnp_devfn_t dev, u16 iobase, enum mode_key k);
+void f81216h_enable_serial(pnp_devfn_t dev, u16 iobase, mode_key k);
#endif /* SUPERIO_FINTEK_F81216H_H */