projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f6f117
)
Input: samsung-keypad - constify platform_device_id
author
Krzysztof Kozlowski
<
[email protected]
>
Wed, 6 May 2015 23:54:56 +0000
(16:54 -0700)
committer
Dmitry Torokhov
<
[email protected]
>
Wed, 6 May 2015 23:56:55 +0000
(16:56 -0700)
The platform_device_id is not modified by the driver and core uses it as
const.
Signed-off-by: Krzysztof Kozlowski <
[email protected]
>
Signed-off-by: Dmitry Torokhov <
[email protected]
>
drivers/input/keyboard/samsung-keypad.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/samsung-keypad.c
b/drivers/input/keyboard/samsung-keypad.c
index 6b9fdf6cf8e83f017dcdaba0281f8856208c0fc0..43e48dac7687f293bacf3a83831ec28127b97307 100644
(file)
--- a/
drivers/input/keyboard/samsung-keypad.c
+++ b/
drivers/input/keyboard/samsung-keypad.c
@@
-585,7
+585,7
@@
static const struct of_device_id samsung_keypad_dt_match[] = {
MODULE_DEVICE_TABLE(of, samsung_keypad_dt_match);
#endif
-static struct platform_device_id samsung_keypad_driver_ids[] = {
+static
const
struct platform_device_id samsung_keypad_driver_ids[] = {
{
.name = "samsung-keypad",
.driver_data = KEYPAD_TYPE_SAMSUNG,