aboutsummaryrefslogtreecommitdiff
path: root/keyboard.c
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2012-05-09 01:34:43 +0000
committerDimitri Sokolyuk <demon@dim13.org>2012-05-09 01:34:43 +0000
commitdc948f592ad4dd37f0349c4faa12e30eb00aa158 (patch)
treeefb9642bccf901808e68a68920495fffea40e0b1 /keyboard.c
parentd94d595fd7c7817dae2887285a3c3d47fba6a765 (diff)
improve prog dump, move hardware registration out of device module
Diffstat (limited to 'keyboard.c')
-rw-r--r--keyboard.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/keyboard.c b/keyboard.c
index cd8dde5..bb4cc5d 100644
--- a/keyboard.c
+++ b/keyboard.c
@@ -40,14 +40,3 @@ keyb(struct context *c)
break;
}
}
-
-void
-register_keyb(struct context *c)
-{
- struct device *d = &c->dev[++c->ndev];
-
- d->id = 0x30cf7406;
- d->version = 0x1;
- d->manu = 0;
- d->cb = keyb;
-}