RE: [PATCH] blackfin: twi: Remove bogus #endif

From: Zhang, Sonic
Date: Wed Mar 20 2013 - 23:21:54 EST


Acked-by: Sonic Zhang<sonic.zhang@xxxxxxxxxx>

>-----Original Message-----
>From: Geert Uytterhoeven [mailto:geert@xxxxxxxxxxxxxx]
>Sent: Wednesday, March 20, 2013 5:16 PM
>To: Zhang, Sonic; Bob Liu
>Cc: uclinux-dist-devel@xxxxxxxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; 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.
>
>Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
>---
>http://kisskb.ellerman.id.au/kisskb/buildresult/8427477/
>
> arch/blackfin/mach-bf538/boards/ezkit.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
>diff --git a/arch/blackfin/mach-bf538/boards/ezkit.c b/arch/blackfin/mach-
>bf538/boards/ezkit.c
>index a4fce03..755f0dc 100644
>--- a/arch/blackfin/mach-bf538/boards/ezkit.c
>+++ b/arch/blackfin/mach-bf538/boards/ezkit.c
>@@ -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
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/