diff options
Diffstat (limited to 'arch/blackfin/mach-bf561/boards/tepla.c')
-rw-r--r-- | arch/blackfin/mach-bf561/boards/tepla.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/blackfin/mach-bf561/boards/tepla.c b/arch/blackfin/mach-bf561/boards/tepla.c index 1a57bc986aad..f87b8cc0cd4c 100644 --- a/arch/blackfin/mach-bf561/boards/tepla.c +++ b/arch/blackfin/mach-bf561/boards/tepla.c | |||
@@ -42,7 +42,7 @@ static struct platform_device smc91x_device = { | |||
42 | .resource = smc91x_resources, | 42 | .resource = smc91x_resources, |
43 | }; | 43 | }; |
44 | 44 | ||
45 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 45 | #if IS_ENABLED(CONFIG_SERIAL_BFIN) |
46 | #ifdef CONFIG_SERIAL_BFIN_UART0 | 46 | #ifdef CONFIG_SERIAL_BFIN_UART0 |
47 | static struct resource bfin_uart0_resources[] = { | 47 | static struct resource bfin_uart0_resources[] = { |
48 | { | 48 | { |
@@ -93,7 +93,7 @@ static struct platform_device bfin_uart0_device = { | |||
93 | #endif | 93 | #endif |
94 | #endif | 94 | #endif |
95 | 95 | ||
96 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) | 96 | #if IS_ENABLED(CONFIG_BFIN_SIR) |
97 | #ifdef CONFIG_BFIN_SIR0 | 97 | #ifdef CONFIG_BFIN_SIR0 |
98 | static struct resource bfin_sir0_resources[] = { | 98 | static struct resource bfin_sir0_resources[] = { |
99 | { | 99 | { |
@@ -125,13 +125,13 @@ static struct platform_device bfin_sir0_device = { | |||
125 | static struct platform_device *tepla_devices[] __initdata = { | 125 | static struct platform_device *tepla_devices[] __initdata = { |
126 | &smc91x_device, | 126 | &smc91x_device, |
127 | 127 | ||
128 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 128 | #if IS_ENABLED(CONFIG_SERIAL_BFIN) |
129 | #ifdef CONFIG_SERIAL_BFIN_UART0 | 129 | #ifdef CONFIG_SERIAL_BFIN_UART0 |
130 | &bfin_uart0_device, | 130 | &bfin_uart0_device, |
131 | #endif | 131 | #endif |
132 | #endif | 132 | #endif |
133 | 133 | ||
134 | #if defined(CONFIG_BFIN_SIR) || defined(CONFIG_BFIN_SIR_MODULE) | 134 | #if IS_ENABLED(CONFIG_BFIN_SIR) |
135 | #ifdef CONFIG_BFIN_SIR0 | 135 | #ifdef CONFIG_BFIN_SIR0 |
136 | &bfin_sir0_device, | 136 | &bfin_sir0_device, |
137 | #endif | 137 | #endif |