Re: [PATCH] Input: fix cobalt_btns loadable keymaps support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Yoichi,

On Mon, Feb 11, 2008 at 09:54:04PM +0900, Yoichi Yuasa wrote:
> Fix cobalt_btns loadable keymaps support.
> 

Thank you for the patch.

>  	input_set_capability(input, EV_MSC, MSC_SCAN);
>  	__set_bit(EV_KEY, input->evbit);
> -	for (i = 0; i < ARRAY_SIZE(buttons_map); i++)
> -		__set_bit(input->keycode[i], input->keybit);
> +	for (i = 0; i < ARRAY_SIZE(cobalt_map); i++)
> +		__set_bit(bdev->keymap[i], input->keybit);

This part is not strictly necessary since input->keycode points to
bdev->keymap. I will apply the rest of the patch.


-- 
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux