diff options
-rw-r--r-- | drivers/input/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index d2e06cc7e179..0f175f55782b 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -1789,7 +1789,7 @@ struct input_dev *input_allocate_device(void) | |||
1789 | INIT_LIST_HEAD(&dev->h_list); | 1789 | INIT_LIST_HEAD(&dev->h_list); |
1790 | INIT_LIST_HEAD(&dev->node); | 1790 | INIT_LIST_HEAD(&dev->node); |
1791 | 1791 | ||
1792 | dev_set_name(&dev->dev, "input%ld", | 1792 | dev_set_name(&dev->dev, "input%lu", |
1793 | (unsigned long) atomic_inc_return(&input_no) - 1); | 1793 | (unsigned long) atomic_inc_return(&input_no) - 1); |
1794 | 1794 | ||
1795 | __module_get(THIS_MODULE); | 1795 | __module_get(THIS_MODULE); |