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:
Patrick Georgi 2019-05-15 21:33:05 +02:00
parent d8cd2e9c37
commit f295d8f113
1 changed files with 2 additions and 2 deletions

View File

@ -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