]> 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)
commit2054420b9e54e1b6e2df9fd34f63968ed311873b
tree7772ce391252660ae1520013913f6c0cc5fa6f8e
parentbc1f2e05c7c87f6c5b43b4555c1e286a0b989960
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