From be15411d97b6b9b2883b7f1ec52ef03bc770a6d4 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Mon, 14 May 2012 23:58:08 +0800 Subject: 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 926c0e8..e6e33be 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 -- cgit v0.10.2