soc/amd/stoney: Don't use IS_ENABLED() for a constant

IS_ENABLED() was supposed for Kconfig options.

Change-Id: Ia40d64856cd89586133e54ff6e02c35d6b647059
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32225
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Nico Huber 2019-04-06 15:57:13 +02:00
parent 1dde7ccfa8
commit e732773c74
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#if IS_ENABLED(MAINBOARD_HAS_SPEAKER) #if MAINBOARD_HAS_SPEAKER
#define IO61_HID "PNP0800" /* AT style speaker */ #define IO61_HID "PNP0800" /* AT style speaker */
#else #else
#define IO61_HID "PNP0C02" /* reserved resource */ #define IO61_HID "PNP0C02" /* reserved resource */