git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42f5787
)
Input: gpio_keys - fix struct device declared inside parameter list
author
Heiko Stübner
<heiko@sntech.de>
Wed, 1 Feb 2012 17:12:24 +0000
(09:12 -0800)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 1 Feb 2012 17:13:11 +0000
(09:13 -0800)
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>
No differences found