From: Mauro Carvalho Chehab Date: Fri, 22 Oct 2010 14:50:37 +0000 (-0300) Subject: [media] mceusb: add a per-model structure X-Git-Tag: v2.6.37-rc1~64^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37dbd3a64ed6dd62ab5a49dbfcfae7e8ac0413a9;p=pandora-kernel.git [media] mceusb: add a per-model structure The previous logic needed duplicate USB table structs, one to store the list of the devices, and 3 sets of other structs, to store the quirks list. With this change, devices that require expecial quirks just need to have a .driver_info = . It also allows adding some extra quirks, like per-model RC tables. As a bonus, this patch reduced in 10% the data segment size: text data bss dec hex filename 15487 5008 4 20499 5013 old/mceusb.ko 15438 4496 4 19938 4de2 new/mceusb.ko Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Jarod Wilson --- Reading git-diff-tree failed