Input: samsung-keypad - constify platform_device_id
The platform_device_id is not modified by the driver and core uses it as const. Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
5f6f117c12
commit
8550b07371
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue