Jiri Kosina writes:The problem was introduced by 859ddf0 and reverted in 6f14a66 (both only touching lib/idr.c). You just happened to merge from master during an unfortunate window :) Cherry-picking the revert (6f14a66) on top of commit 093657 (details shown below for reference) yields a working kernel with a working Magic Mouse driver. I expect that merging the rest of master would also work. commit 09365737da8b3af76abd9d811d435d3ce379903a Merge: 1b97e37 71b38bd Author: Jiri Kosina <jkosina@suse.cz> Date: Thu Feb 11 11:22:52 2010 +0100 Merge branch 'apple_magic_mouse' into for-next Michael Poole --
