mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
staging: nvec: minor coding style fix
Fix for the below coding style warning. Warning: Move const after static - use 'static const int' Signed-off-by: Fatih Yildirim <yildirim.fatih@gmail.com> Link: https://lore.kernel.org/r/20210212073423.20562-1-yildirim.fatih@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f34df6764c
commit
dc31fc6ce6
@@ -338,7 +338,7 @@ static const struct power_supply_desc nvec_psy_desc = {
|
||||
};
|
||||
|
||||
static int counter;
|
||||
static int const bat_iter[] = {
|
||||
static const int bat_iter[] = {
|
||||
SLOT_STATUS, VOLTAGE, CURRENT, CAPACITY_REMAINING,
|
||||
#ifdef EC_FULL_DIAG
|
||||
AVERAGE_CURRENT, TEMPERATURE, TIME_REMAINING,
|
||||
|
Reference in New Issue
Block a user