linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] blackfin: twi: Remove bogus #endif
@ 2013-03-20  9:15 Geert Uytterhoeven
  2013-03-21  3:21 ` Zhang, Sonic
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2013-03-20  9:15 UTC (permalink / raw)
  To: Sonic Zhang, Bob Liu; +Cc: uclinux-dist-devel, linux-kernel, Geert Uytterhoeven

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@linux-m68k.org>
---
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH] blackfin: twi: Remove bogus #endif
  2013-03-20  9:15 [PATCH] blackfin: twi: Remove bogus #endif Geert Uytterhoeven
@ 2013-03-21  3:21 ` Zhang, Sonic
  0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Sonic @ 2013-03-21  3:21 UTC (permalink / raw)
  To: Geert Uytterhoeven, Bob Liu; +Cc: uclinux-dist-devel, linux-kernel

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

>-----Original Message-----
>From: Geert Uytterhoeven [mailto:geert@linux-m68k.org]
>Sent: Wednesday, March 20, 2013 5:16 PM
>To: Zhang, Sonic; Bob Liu
>Cc: uclinux-dist-devel@blackfin.uclinux.org; linux-kernel@vger.kernel.org; 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@linux-m68k.org>
>---
>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
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-21  3:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-20  9:15 [PATCH] blackfin: twi: Remove bogus #endif Geert Uytterhoeven
2013-03-21  3:21 ` Zhang, Sonic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).