From: Axel Lin Date: Mon, 14 May 2012 15:58:08 +0000 (+0800) Subject: regulator: tps62360: Fix build error due to missing semicolon X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=be15411d97b6b9b2883b7f1ec52ef03bc770a6d4;p=linux-beck.git regulator: tps62360: Fix build error due to missing semicolon Fix below build error: CC [M] drivers/regulator/tps62360-regulator.o drivers/regulator/tps62360-regulator.c:351:1: error: expected ',' or ';' before 'extern' make[2]: *** [drivers/regulator/tps62360-regulator.o] Error 1 make[1]: *** [drivers/regulator] Error 2 make: *** [drivers] Error 2 Signed-off-by: Axel Lin Acked-by: Laxman Dewangan Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/tps62360-regulator.c b/drivers/regulator/tps62360-regulator.c index 926c0e89a55a..e6e33beb72b0 100644 --- a/drivers/regulator/tps62360-regulator.c +++ b/drivers/regulator/tps62360-regulator.c @@ -326,7 +326,7 @@ static const struct of_device_id tps62360_of_match[] = { { .compatible = "ti,tps62362", .data = (void *)TPS62362}, { .compatible = "ti,tps62363", .data = (void *)TPS62363}, {}, -} +}; MODULE_DEVICE_TABLE(of, tps62360_of_match); #endif