Skip to content
Commit cbe821a2 authored by Ben Dooks (Codethink)'s avatar Ben Dooks (Codethink) Committed by Dmitry Torokhov
Browse files

Input: axp20x-pek - make device attributes static



The two device attrbitues are not declared outside this file
so make them static to avoid the following warnings:

drivers/input/misc/axp20x-pek.c:194:1: warning: symbol 'dev_attr_startup' was not declared. Should it be static?
drivers/input/misc/axp20x-pek.c:195:1: warning: symbol 'dev_attr_shutdown' was not declared. Should it be static?

Signed-off-by: default avatarBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Acked-by: default avatarChen-Yu Tsai <wens@csie.org>
Link: https://lore.kernel.org/r/20191217152541.2167080-1-ben.dooks@codethink.co.uk


Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent f0b57e19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment