commit | b18db3d91234c03ad080d317878c7c77672ba326 | [log] [tgz] |
---|---|---|
author | Heiko Stübner <heiko@sntech.de> | Wed Feb 01 09:12:24 2012 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Feb 01 09:13:11 2012 -0800 |
tree | acaa0def1723509f0c77d772071bb0a783525b22 | |
parent | 42f578741bc59dc871bef03ff0f72dd197388409 [diff] |
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>