board: phytec: define get_som_type also when SoM detection is disabled
define the phytec_get_som_type function also when the SoM detection is
disabled.
Fixes:
commit 110d321a56
("board: phytec: common: phytec_som_detection: Add phytec_get_som_type")
Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
This commit is contained in:

committed by
Fabio Estevam

parent
86fd291a79
commit
e1897784aa
@@ -248,4 +248,9 @@ u8 __maybe_unused phytec_get_rev(struct phytec_eeprom_data *data)
|
|||||||
return PHYTEC_EEPROM_INVAL;
|
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) */
|
#endif /* IS_ENABLED(CONFIG_PHYTEC_SOM_DETECTION) */
|
||||||
|
Reference in New Issue
Block a user