From: Jiri Kosina Date: Mon, 29 Jan 2007 11:44:41 +0000 (+0100) Subject: HID: fix pb_fnmode and move it to generic HID X-Git-Tag: v2.6.20-rc7~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76398f9667e8369023ed5f4847fb59e9da8b6968;p=pandora-kernel.git HID: fix pb_fnmode and move it to generic HID The apple powerbook people are used to switch the pb_fnmode setting at runtime through writing to sysfs, altering the module parameter value. This was broken for them in 2.6.20-rc1 when generic HID layer was introduced, as the pb_fnmode flag was made per-hiddevice, instead of global variable. This patch moves the pb_fnmode module parameter from usbhid module to hid module, but apart from that retains backward compatibility with respect to changing the mode through sysfs. Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed