From: Pavel Machek <pavel@suse.cz>
To: dtor_core@ameritech.net
Cc: vojtech@suse.cz, kernel list <linux-kernel@vger.kernel.org>,
rpurdie@rpsys.net, lenz@cs.wisc.edu
Subject: Re: after latest input updates, locomo keyboard kills boot
Date: Tue, 1 Nov 2005 20:05:56 +0100 [thread overview]
Message-ID: <20051101190556.GD29974@elf.ucw.cz> (raw)
In-Reply-To: <d120d5000511010712o77b2b1afie52e47ac07b09a8c@mail.gmail.com>
Hi!
> > drivers/input/keyboard/locomokbd.c:
> >
> > struct locomokbd {
> > unsigned char keycode[LOCOMOKBD_NUMKEYS];
> > struct input_dev input;
> > ~~~~~~~~~~~~~~~~~~~~~~~
> >
> > ...and I guess that's the problem. What needs to be done? Just replace
> > it with struct input_dev *?
>
> Try the attached. BTW, shouldn't input->id.bus be BUS_HOST and not
> >BUS_XTKBD?
Yes, that helped, thanks a lot. Will you take care of merging, or
should I push it through akpm?
Pavel
Fix compilation of locomokbd.
Signed-off-by: Pavel Machek <pavel@suse.cz>
---
commit ea66607091fbd8cfd2f0ab3a6218ec4d0ba399e4
tree 95f52c3742913a93cfdc6e15b43561cb1011ed2f
parent 5e047cfca8cb5833ac7c96d7c000270307316d1f
author <pavel@amd.(none)> Tue, 01 Nov 2005 20:03:07 +0100
committer <pavel@amd.(none)> Tue, 01 Nov 2005 20:03:07 +0100
drivers/input/keyboard/locomokbd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/input/keyboard/locomokbd.c b/drivers/input/keyboard/locomokbd.c
--- a/drivers/input/keyboard/locomokbd.c
+++ b/drivers/input/keyboard/locomokbd.c
@@ -261,7 +261,7 @@ out:
release_mem_region((unsigned long) dev->mapbase, dev->length);
locomo_set_drvdata(dev, NULL);
free:
- input_free_device(input_dev)
+ input_free_device(input_dev);
kfree(locomokbd);
return ret;
Fix wrong bustype.
---
commit cb4e751101b0e359cec50565caba977c1e6d5709
tree b6779a09e5685efd00e72e5161f08bd6bc5b494a
parent ea66607091fbd8cfd2f0ab3a6218ec4d0ba399e4
author <pavel@amd.(none)> Tue, 01 Nov 2005 20:05:23 +0100
committer <pavel@amd.(none)> Tue, 01 Nov 2005 20:05:23 +0100
drivers/input/keyboard/locomokbd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/input/keyboard/locomokbd.c b/drivers/input/keyboard/locomokbd.c
--- a/drivers/input/keyboard/locomokbd.c
+++ b/drivers/input/keyboard/locomokbd.c
@@ -230,7 +230,7 @@ static int locomokbd_probe(struct locomo
input_dev->name = "LoCoMo keyboard";
input_dev->phys = locomokbd->phys;
- input_dev->id.bustype = BUS_XTKBD;
+ input_dev->id.bustype = BUS_HOST;
input_dev->id.vendor = 0x0001;
input_dev->id.product = 0x0001;
input_dev->id.version = 0x0100;
--
Thanks, Sharp!
next prev parent reply other threads:[~2005-11-01 20:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-01 9:49 after latest input updates, locomo keyboard kills boot Pavel Machek
2005-11-01 15:12 ` Dmitry Torokhov
2005-11-01 19:05 ` Pavel Machek [this message]
2005-11-01 20:50 ` Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051101190556.GD29974@elf.ucw.cz \
--to=pavel@suse.cz \
--cc=dtor_core@ameritech.net \
--cc=lenz@cs.wisc.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=rpurdie@rpsys.net \
--cc=vojtech@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox