Hi Jeffy,
Sorry for delayed response.
On Mon, Mar 26, 2018 at 1:58 AM JeffyChen <jeffy.chen@xxxxxxxxxxxxxx> wrote:
Hi Daniel,
Thanks for your reply.
On 03/26/2018 02:31 PM, Daniel Kurtz wrote:
hmmm, i was trying to add more device related data in patch[13]:Why do we need this struct? Can't we just assign a pointer to struct+struct rk_iommudata {
+ struct rk_iommu *iommu;
+};
rk_iommu directly to dev->archdata.iommu?
struct rk_iommudata {*/
+ struct device_link *link; /* runtime PM link from IOMMU to master
struct rk_iommu *iommu;
};
Can't you just add link to rk_iommu directly?