
define the phytec_get_som_type function also when the SoM detection is disabled.
Fixes: commit 110d321a56c3 ("board: phytec: common: phytec_som_detection: Add phytec_get_som_type")
Signed-off-by: Benjamin Hahn B.Hahn@phytec.de --- board/phytec/common/phytec_som_detection.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/board/phytec/common/phytec_som_detection.c b/board/phytec/common/phytec_som_detection.c index f9607b018dea..a56e0f60d628 100644 --- a/board/phytec/common/phytec_som_detection.c +++ b/board/phytec/common/phytec_som_detection.c @@ -248,4 +248,9 @@ u8 __maybe_unused phytec_get_rev(struct phytec_eeprom_data *data) return PHYTEC_EEPROM_INVAL; }
+u8 __maybe_unused phytec_get_som_type(struct phytec_eeprom_data *data) +{ + return PHYTEC_EEPROM_INVAL; +} + #endif /* IS_ENABLED(CONFIG_PHYTEC_SOM_DETECTION) */
--- base-commit: f3c979dd0053c082d2df170446923e7ce5edbc2d change-id: 20240312-pcl-070-fix-b7bd8bd74d5b
Best regards,