• Vincent Vanackere's avatar
    [PATCH] USB: fix atiremote input doesn`t register `device` & `driver` section... · c11372da
    Vincent Vanackere authored
    [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: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    c11372da
ati_remote.c 27.1 KB