summaryrefslogtreecommitdiff
path: root/src/superio/smsc/lpc47m15x
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-28 18:51:47 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-28 18:51:47 +0000
commit4ec4fbe0e94c173cf42fb9044a07b51d8e7fdd40 (patch)
tree5df6119e79598c8c441c8a19d953adb894584e78 /src/superio/smsc/lpc47m15x
parent2d2f0c121f1fcb5da99174569996d8fccc1e9d1f (diff)
downloadcoreboot-4ec4fbe0e94c173cf42fb9044a07b51d8e7fdd40.tar.xz
Make d945gclf build.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4882 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/smsc/lpc47m15x')
-rw-r--r--src/superio/smsc/lpc47m15x/Makefile.inc2
-rw-r--r--src/superio/smsc/lpc47m15x/superio.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/superio/smsc/lpc47m15x/Makefile.inc b/src/superio/smsc/lpc47m15x/Makefile.inc
new file mode 100644
index 0000000000..25967e4013
--- /dev/null
+++ b/src/superio/smsc/lpc47m15x/Makefile.inc
@@ -0,0 +1,2 @@
+#config chip.h
+obj-$(CONFIG_SUPERIO_SMSC_LPC47M15X) += superio.o
diff --git a/src/superio/smsc/lpc47m15x/superio.c b/src/superio/smsc/lpc47m15x/superio.c
index 1d360d9259..80ee5c7e55 100644
--- a/src/superio/smsc/lpc47m15x/superio.c
+++ b/src/superio/smsc/lpc47m15x/superio.c
@@ -35,7 +35,6 @@
// Forward declarations
static void enable_dev(device_t dev);
void lpc47m15x_pnp_set_resources(device_t dev);
-void lpc47m15x_pnp_set_resources(device_t dev);
void lpc47m15x_pnp_enable_resources(device_t dev);
void lpc47m15x_pnp_enable(device_t dev);
static void lpc47m15x_init(device_t dev);
@@ -121,7 +120,7 @@ static void lpc47m15x_init(device_t dev)
case LPC47M15X_KBC:
res0 = find_resource(dev, PNP_IDX_IO0);
res1 = find_resource(dev, PNP_IDX_IO1);
- pc_keyboard_init(&conf->keyboard);
+ init_pc_keyboard(0x60, 0x64, &conf->keyboard);
break;
}
}