Commit 0d161eb2 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Jakub Kicinski
Browse files

net: ipa: Make the SMEM item ID constant



It can't vary, stop storing the same magic number everywhere.

Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: default avatarAlex Elder <elder@kernel.org>
Link: https://patch.msgid.link/20250512-topic-ipa_smem-v1-1-302679514a0d@oss.qualcomm.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 51672a65
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -493,7 +493,6 @@ static const struct ipa_mem_data ipa_mem_data = {
	.local		= ipa_mem_local_data,
	.imem_addr	= 0x146bd000,
	.imem_size	= 0x00002000,
	.smem_id	= 497,
	.smem_size	= 0x00002000,
};

+0 −1
Original line number Diff line number Diff line
@@ -374,7 +374,6 @@ static const struct ipa_mem_data ipa_mem_data = {
	.local		= ipa_mem_local_data,
	.imem_addr	= 0x146bd000,
	.imem_size	= 0x00002000,
	.smem_id	= 497,
	.smem_size	= 0x00002000,
};

+0 −1
Original line number Diff line number Diff line
@@ -367,7 +367,6 @@ static const struct ipa_mem_data ipa_mem_data = {
	.local		= ipa_mem_local_data,
	.imem_addr	= 0x146a8000,
	.imem_size	= 0x00002000,
	.smem_id	= 497,
	.smem_size	= 0x00009000,
};

+0 −1
Original line number Diff line number Diff line
@@ -340,7 +340,6 @@ static const struct ipa_mem_data ipa_mem_data = {
	.local		= ipa_mem_local_data,
	.imem_addr	= 0x146a8000,
	.imem_size	= 0x00002000,
	.smem_id	= 497,
	.smem_size	= 0x00002000,
};

+0 −1
Original line number Diff line number Diff line
@@ -418,7 +418,6 @@ static const struct ipa_mem_data ipa_mem_data = {
	.local		= ipa_mem_local_data,
	.imem_addr	= 0x14688000,
	.imem_size	= 0x00003000,
	.smem_id	= 497,
	.smem_size	= 0x00009000,
};

Loading