summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard/cypress-sf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/keyboard/cypress-sf.c')
-rw-r--r--drivers/input/keyboard/cypress-sf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/keyboard/cypress-sf.c b/drivers/input/keyboard/cypress-sf.c
index 2bacd9d80ecf..335b72efc5aa 100644
--- a/drivers/input/keyboard/cypress-sf.c
+++ b/drivers/input/keyboard/cypress-sf.c
@@ -208,8 +208,8 @@ static int cypress_sf_resume(struct device *dev)
static DEFINE_SIMPLE_DEV_PM_OPS(cypress_sf_pm_ops,
cypress_sf_suspend, cypress_sf_resume);
-static struct i2c_device_id cypress_sf_id_table[] = {
- { CYPRESS_SF_DEV_NAME, 0 },
+static const struct i2c_device_id cypress_sf_id_table[] = {
+ { CYPRESS_SF_DEV_NAME },
{ }
};
MODULE_DEVICE_TABLE(i2c, cypress_sf_id_table);