summaryrefslogtreecommitdiff
path: root/drivers/staging/media/as102/as102_drv.h
diff options
context:
space:
mode:
authorGianluca Gennari <gennarone@gmail.com>2012-03-06 16:47:45 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-03-19 21:26:02 +0400
commitabf9d005375d6c6160cc9c17e5dcac32e412c8dc (patch)
treefee45be75c90d5c101c1338dd97e084e272fec72 /drivers/staging/media/as102/as102_drv.h
parent962f8f67e48693d110c26d06089406dd9931474d (diff)
downloadlinux-abf9d005375d6c6160cc9c17e5dcac32e412c8dc.tar.xz
[media] as102: add __packed attribute to structs defined inside packed structs
This patch fixes a regression in kernel 3.3 due to this patch: http://patchwork.linuxtv.org/patch/8332/ That patch changes "#pragma pack(1)" with "__packed" attributes, but it is not complete. In fact, in the as102 driver there are a lot of structs/unions defined inside other structs/unions. When the "__packed" attribute is applied only on the external struct, it will not affect the internal struct definitions. So the regression is fixed by specifiying the "__packed" attribute also on the internal structs. This patch should go into 3.3, as it fixes a regression introduced in the new kernel version. Signed-off-by: Gianluca Gennari <gennarone@gmail.com> Signed-off-by: Ryley Angus <rangus@student.unimelb.edu.au> Cc: stable@kernel.org # for v3.3 Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/media/as102/as102_drv.h')
0 files changed, 0 insertions, 0 deletions