sc7180/sc7280: Add missing set_resources

Added missing set_resources function to avoid error messages in boot up
logs.

BUG=b:230576402
TEST=Validated on qualcomm sc7280 development board

Signed-off-by: Kshitiz Godara <quic_kgodara@quicinc.com>
Change-Id: Ie0a5bd345486293ce07e586a423d53740ad377f1
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65331
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Shelley Chen <shchen@google.com>
This commit is contained in:
Kshitiz Godara 2022-06-23 10:20:38 +05:30 committed by Felix Held
parent 753de9a452
commit b53ef22854
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ static void soc_init(struct device *dev)
static struct device_operations soc_ops = { static struct device_operations soc_ops = {
.read_resources = soc_read_resources, .read_resources = soc_read_resources,
.set_resources = noop_set_resources,
.init = soc_init, .init = soc_init,
}; };

View File

@ -36,6 +36,7 @@ static void soc_init(struct device *dev)
static struct device_operations soc_ops = { static struct device_operations soc_ops = {
.read_resources = soc_read_resources, .read_resources = soc_read_resources,
.set_resources = noop_set_resources,
.init = soc_init, .init = soc_init,
}; };