]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
HID: set proper dev.parent in hidraw
authorJiri Kosina <jkosina@suse.cz>
Thu, 4 Dec 2008 15:16:46 +0000 (16:16 +0100)
committerJiri Kosina <jkosina@suse.cz>
Sun, 4 Jan 2009 00:00:52 +0000 (01:00 +0100)
commitaae6c286dad33c7f2c6992b9e310a371f2ae377e
tree797315ece85368c2ed1e646dfeebb79d4823b3f8
parent3a6f82f7a22cf19687f556997c6978b31c109360
HID: set proper dev.parent in hidraw

We need to properly set parent of the hidraw device (which is the
corresponding physical device itself) in order to hidraw devices not
end up under virtual device tree.

Reported-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hidraw.c