|
@@ -89,7 +89,7 @@ static struct platform_device mcf_uart = {
|
|
|
.dev.platform_data = mcf_uart_platform_data,
|
|
|
};
|
|
|
|
|
|
-#ifdef CONFIG_FEC
|
|
|
+#if IS_ENABLED(CONFIG_FEC)
|
|
|
|
|
|
#ifdef CONFIG_M5441x
|
|
|
#define FEC_NAME "enet-fec"
|
|
@@ -329,7 +329,7 @@ static struct platform_device mcf_qspi = {
|
|
|
|
|
|
static struct platform_device *mcf_devices[] __initdata = {
|
|
|
&mcf_uart,
|
|
|
-#ifdef CONFIG_FEC
|
|
|
+#if IS_ENABLED(CONFIG_FEC)
|
|
|
&mcf_fec0,
|
|
|
#ifdef MCFFEC_BASE1
|
|
|
&mcf_fec1,
|