[Ocf-linux-users] Marvell CESA: platform_data
Brought to you by:
david-m
From: <ana...@wi...> - 2011-11-18 14:22:26
|
Hi, In OCF-linux file cesa_ocf_drv.c, there is the following code in function mv_cesa_ocf_init() line 1179. cesa_device.plat_data = pdev->dev.platform_data; I was not able to find where platform_data was set. I suppose it should've been done in Linux architecture files (specifically one of the files in /arch/arm/mach-kirkwood), probably where kirkwood_crypto_device is defined. But I could not find it in code for kernel 2.6.31.8. In later version, i.e 3.1.1, this has been changed to refer orion_crypto structures. Again, can't find where platform_data is set for CESA. Could you please help me understand? Regards Ananth |