]> git.baikalelectronics.ru Git - kernel.git/commit
platform_data: edma: Be precise with the paRAM struct
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 14 Apr 2014 11:41:56 +0000 (14:41 +0300)
committerVinod Koul <vinod.koul@intel.com>
Tue, 22 Apr 2014 16:04:49 +0000 (21:34 +0530)
commitcc22f3c6db49cad797b127f8a8e7db12e9f848e0
tree7772ce391252660ae1520013913f6c0cc5fa6f8e
parent480ecc916679014c8b1cad0f42ff0dbbc2b461b8
platform_data: edma: Be precise with the paRAM struct

The edmacc_param struct should follow the layout of the paRAM area in the
HW. Be explicit on the size of the fields (u32) and also mark the struct
as packed to avoid any padding on non 32bit architectures.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Joel Fernandes <joelf@ti.com>
Reviewed-and-Tested-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
include/linux/platform_data/edma.h