• J
    HID: fix hid-ff drivers so that devices work even without ff support · 0f6f4319
    Jiri Kosina 提交于
    Currently, the hid-*ff force feedback drivers, which claim the blacklisted
    device on a HID bus, are only compiled in if the user selects force feedback
    support.
    
    However we want the device to be supported even when the kernel is configured
    without force feedback.
    
    This patch fixes the drivers in a way that they get compiled even if force
    feedback is turned off; all the force feedback support code is compiled out in
    such case, and the driver works as a usual driver on HID bus, claiming and
    initializing the device, making it operational without FF effects.
    Reported-by: NJussi Kivilinna <jussi.kivilinna@mbnet.fi>
    Signed-off-by: NJiri Kosina <jkosina@suse.cz>
    0f6f4319
Makefile 1.5 KB