summaryrefslogtreecommitdiff
path: root/sys/dev/ic/pckbc.c
diff options
context:
space:
mode:
authorAlexandr Shadchin <shadchin@cvs.openbsd.org>2010-12-03 18:29:57 +0000
committerAlexandr Shadchin <shadchin@cvs.openbsd.org>2010-12-03 18:29:57 +0000
commitc2564fe1f52bfe86609e5d6745eab8dd049c1c63 (patch)
treec160c7b6f5b07d305202edf487eaecaad022ca76 /sys/dev/ic/pckbc.c
parent110d1588c4df6978612aeeab62547f656fce39a7 (diff)
removed slot argument of function pckbd_cnattach
because it is always PCKBC_KBD_SLOT ok miod@, krw@
Diffstat (limited to 'sys/dev/ic/pckbc.c')
-rw-r--r--sys/dev/ic/pckbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/pckbc.c b/sys/dev/ic/pckbc.c
index 4dd50de8c34..b58bea3a4e3 100644
--- a/sys/dev/ic/pckbc.c
+++ b/sys/dev/ic/pckbc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pckbc.c,v 1.27 2010/11/23 04:07:55 shadchin Exp $ */
+/* $OpenBSD: pckbc.c,v 1.28 2010/12/03 18:29:56 shadchin Exp $ */
/* $NetBSD: pckbc.c,v 1.5 2000/06/09 04:58:35 soda Exp $ */
/*
@@ -1048,7 +1048,7 @@ pckbc_cnattach(bus_space_tag_t iot, bus_addr_t addr, bus_size_t cmd_offset,
if (!res) {
#if (NPCKBD > 0)
- res = pckbd_cnattach(&pckbc_consdata, PCKBC_KBD_SLOT);
+ res = pckbd_cnattach(&pckbc_consdata);
#else
res = ENXIO;
#endif /* NPCKBD > 0 */