From: Jim Cromie Date: Fri, 14 Jul 2006 07:24:16 +0000 (-0700) Subject: [PATCH] scx200_gpio: use 1 cdev for N minors, not N for N X-Git-Tag: v2.6.18-rc2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=635adb6cd25c8f816c9017a0a0349cd389eafcd3;p=pandora-kernel.git [PATCH] scx200_gpio: use 1 cdev for N minors, not N for N Remove the scx200_gpio's cdev-array & ksalloc, replacing it with a single static struct cdev, which is sufficient for all the pins. cdev_put is commented out since kernel wont link properly with it, and its apparently not needed. With these patches, this driver continues to work with Chris Boot's leds_48xx driver. Signed-off-by Jim Cromie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed