mb/ocp/monolake: replace IS_ENABLED(CONFIG_*) with CONFIG()
That's how we do it these days. Change-Id: I6bf6460440d0f2e6973734ba8894a4be981d03c5 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32812 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
parent
d8cd2e9c37
commit
f295d8f113
|
@ -23,7 +23,7 @@
|
|||
#define BMC_KCS_BASE 0xca2
|
||||
#define INTERFACE_IS_IO 0x1
|
||||
|
||||
#if IS_ENABLED(CONFIG_GENERATE_SMBIOS_TABLES)
|
||||
#if CONFIG(GENERATE_SMBIOS_TABLES)
|
||||
static int mainboard_smbios_data(struct device *dev, int *handle,
|
||||
unsigned long *current)
|
||||
{
|
||||
|
@ -50,7 +50,7 @@ static int mainboard_smbios_data(struct device *dev, int *handle,
|
|||
*/
|
||||
static void mainboard_enable(struct device *dev)
|
||||
{
|
||||
#if IS_ENABLED(CONFIG_GENERATE_SMBIOS_TABLES)
|
||||
#if CONFIG(GENERATE_SMBIOS_TABLES)
|
||||
dev->ops->get_smbios_data = mainboard_smbios_data;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue