diff --git a/drivers/power/battery_charger.c b/drivers/power/battery_charger.c index 9f422a9b1b..f77c85c602 100644 --- a/drivers/power/battery_charger.c +++ b/drivers/power/battery_charger.c @@ -97,6 +97,7 @@ static const struct file_operations g_batteryops = /**************************************************************************** * Private Functions ****************************************************************************/ + /**************************************************************************** * Name: bat_charger_open * diff --git a/drivers/power/battery_gauge.c b/drivers/power/battery_gauge.c index f883a2a269..b56c6a9cc4 100644 --- a/drivers/power/battery_gauge.c +++ b/drivers/power/battery_gauge.c @@ -97,6 +97,7 @@ static const struct file_operations g_batteryops = /**************************************************************************** * Private Functions ****************************************************************************/ + /**************************************************************************** * Name: bat_gauge_open * diff --git a/tools/nxstyle.c b/tools/nxstyle.c index 821ca810e1..9d5b857589 100644 --- a/tools/nxstyle.c +++ b/tools/nxstyle.c @@ -1659,9 +1659,10 @@ int main(int argc, char **argv, char **envp) lineno, indent); } - if (line[indent+1] != ' ' && - line[indent+1] != '\n' && - line[indent+1] != '/') + if (line[indent + 1] != ' ' && + line[indent + 1] != '*' && + line[indent + 1] != '\n' && + line[indent + 1] != '/') { fprintf(stderr, "Invalid character after asterisk in comment block at line %d:%d\n",