aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/iovlock.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-10-22 11:50:37 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-22 20:05:37 -0200
commit37dbd3a64ed6dd62ab5a49dbfcfae7e8ac0413a9 (patch)
tree7329dbbedfb18c4d5b7770a5fd5507388229d8d4 /drivers/dma/iovlock.c
parent39dc5c3adf65bf86115aeccd740993256e6a22d4 (diff)
downloadkernel_samsung_smdk4412-37dbd3a64ed6dd62ab5a49dbfcfae7e8ac0413a9.tar.gz
kernel_samsung_smdk4412-37dbd3a64ed6dd62ab5a49dbfcfae7e8ac0413a9.tar.bz2
kernel_samsung_smdk4412-37dbd3a64ed6dd62ab5a49dbfcfae7e8ac0413a9.zip
[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 = <quirk entry>. 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 <mchehab@redhat.com> Signed-off-by: Jarod Wilson <jarod@redhat.com>
Diffstat (limited to 'drivers/dma/iovlock.c')
0 files changed, 0 insertions, 0 deletions