From 3e3d836f9286e7b28722625d553235f8cb398211 Mon Sep 17 00:00:00 2001
From: Aswath Govindraju <a-govindraju@ti.com>
Date: Tue, 25 Jan 2022 20:56:28 +0530
Subject: [PATCH] ram: k3-ddrss: lpddr4_structs_if.h: Add a pointer to ddr
 instance

Add a pointer to ddr instance int the lpddr4_privatedata_s structure for
supporting mutliple instances of DDR in the drivers.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
---
 drivers/ram/k3-ddrss/lpddr4_structs_if.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ram/k3-ddrss/lpddr4_structs_if.h b/drivers/ram/k3-ddrss/lpddr4_structs_if.h
index e41cbb7ff4..f2f1210c3c 100644
--- a/drivers/ram/k3-ddrss/lpddr4_structs_if.h
+++ b/drivers/ram/k3-ddrss/lpddr4_structs_if.h
@@ -24,6 +24,7 @@ struct lpddr4_privatedata_s {
 	lpddr4_infocallback infohandler;
 	lpddr4_ctlcallback ctlinterrupthandler;
 	lpddr4_phyindepcallback phyindepinterrupthandler;
+	void *ddr_instance;
 };
 
 struct lpddr4_debuginfo_s {
-- 
2.39.5