Skip to contentSkip to conversation

blackfin: twi: Remove bogus #endif

PATCH In review Geert Uytterhoeven 2 participants 2 messages Mar 20, 2013 – Mar 21, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blackfin: twi: Remove bogus #endif

arch/blackfin/mach-bf538/boards/ezkit.c:768:2: error: #endif without #if

Introduced by commit cf93feb3a0dee97c7896016a352a3226139fbcf4 ("blackfin:
twi: Move TWI peripheral pin request array to platform data"), which removed the #if, but forgot about the #endif.

---
http://kisskb.ellerman.id.au/kisskb/buildresult/8427477/

 arch/blackfin/mach-bf538/boards/ezkit.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/blackfin/mach-bf538/boards/ezkit.c +0 -1
index a4fce03..755f0dc 100644
@@ -764,7 +764,6 @@ static struct platform_device i2c_bfin_twi1_device = {
 	.num_resources = ARRAY_SIZE(bfin_twi1_resource),
 	.resource = bfin_twi1_resource,
 };
-#endif	/* CONFIG_BF542 */
 #endif	/* CONFIG_I2C_BLACKFIN_TWI */
 
 #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE)
Signature · 1 line
1.7.0.4
Acked-by on v1 1/1
#1 lore raw
Quoted 38 lines

-----Original Message-----
From: Geert Uytterhoeven [mailto:[email protected]]
Sent: Wednesday, March 20, 2013 5:16 PM
To: Zhang, Sonic; Bob Liu
Cc: [email protected]; [email protected]; Geert Uytterhoeven
Subject: [PATCH] blackfin: twi: Remove bogus #endif

arch/blackfin/mach-bf538/boards/ezkit.c:768:2: error: #endif without #if

Introduced by commit cf93feb3a0dee97c7896016a352a3226139fbcf4 ("blackfin:
twi: Move TWI peripheral pin request array to platform data"), which removed the #if, but forgot about the #endif.

---
http://kisskb.ellerman.id.au/kisskb/buildresult/8427477/

arch/blackfin/mach-bf538/boards/ezkit.c | 1 -

1 files changed, 0 insertions(+), 1 deletions(-)
arch/blackfin/mach- renamed from arch/blackfin/mach-bf538/boards/ezkit.c +0 -0

bf538/boards/ezkit.c
index a4fce03..755f0dc 100644

arch/blackfin/mach-bf538/boards/ezkit.c +0 -1
@@ -764,7 +764,6 @@ static struct platform_device i2c_bfin_twi1_device = {
      .num_resources = ARRAY_SIZE(bfin_twi1_resource),
      .resource = bfin_twi1_resource,
 };
-#endif        /* CONFIG_BF542 */
 #endif        /* CONFIG_I2C_BLACKFIN_TWI */
 
 #if defined(CONFIG_KEYBOARD_GPIO) ||

defined(CONFIG_KEYBOARD_GPIO_MODULE)
--
1.7.0.4