|
@@ -241,8 +241,6 @@ static void konicawc_register_input(struct konicawc *cam, struct usb_device *dev
|
|
input_dev->evbit[0] = BIT_MASK(EV_KEY);
|
|
input_dev->evbit[0] = BIT_MASK(EV_KEY);
|
|
input_dev->keybit[BIT_WORD(BTN_0)] = BIT_MASK(BTN_0);
|
|
input_dev->keybit[BIT_WORD(BTN_0)] = BIT_MASK(BTN_0);
|
|
|
|
|
|
- input_dev->private = cam;
|
|
|
|
-
|
|
|
|
error = input_register_device(cam->input);
|
|
error = input_register_device(cam->input);
|
|
if (error) {
|
|
if (error) {
|
|
warn("Failed to register camera's input device, err: %d\n",
|
|
warn("Failed to register camera's input device, err: %d\n",
|