Commit b18db3d91234c03ad080d317878c7c77672ba326
Committed by
Dmitry Torokhov
1 parent
42f578741b
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
Input: gpio_keys - fix struct device declared inside parameter list
A struct device parameter is used in the enable and disable callbacks to distinguish between different gpio_keys devices. Platforms that don't use these callbacks may not include struct device at all, as seen on arch/arm/mach-s3c2410/mach-n30.c Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff