[PATCH] USB: fix atiremote input doesn`t register `device` & `driver` section in...
authorVincent Vanackere <vincent.vanackere@gmail.com>
Sun, 5 Jun 2005 10:21:43 +0000 (12:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2005 21:44:02 +0000 (14:44 -0700)
commitc11372da33c9d38cb35867915f15c74778e1a3a4
treef5444da8e5a6e4d6ef77123d2a803c45fa446c09
parent16367877949a91b11bcc6f37b94d0033388b4256
[PATCH] USB: fix atiremote input doesn`t register `device` & `driver` section in sysfs (/sys/class/input/event#)

> On Sun, Apr 10, 2005 at 07:21:28PM +0600, Viktor A. Danilov wrote:
> >
> > PROBLEM: aiptek input doesn`t register `device` & `driver` section in sysfs (/sys/class/input/event#)
> > REASON: `dev` - field not filled...
> > SOLUTION: in linux/drivers/usb/input/aiptek.c write
> >       aiptek->inputdev.dev = &intf->dev;
> > before calling
> >       input_register_device(&aiptek->inputdev);

The following (tested) patch fixes the exact same issue with the ATI
Remote input driver.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/ati_remote.c