aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/max8997_haptic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/max8997_haptic.c')
-rw-r--r--drivers/input/misc/max8997_haptic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/misc/max8997_haptic.c b/drivers/input/misc/max8997_haptic.c
index d0f687281339..a806ba3818f7 100644
--- a/drivers/input/misc/max8997_haptic.c
+++ b/drivers/input/misc/max8997_haptic.c
@@ -394,7 +394,7 @@ static const struct platform_device_id max8997_haptic_id[] = {
394 { "max8997-haptic", 0 }, 394 { "max8997-haptic", 0 },
395 { }, 395 { },
396}; 396};
397MODULE_DEVICE_TABLE(i2c, max8997_haptic_id); 397MODULE_DEVICE_TABLE(platform, max8997_haptic_id);
398 398
399static struct platform_driver max8997_haptic_driver = { 399static struct platform_driver max8997_haptic_driver = {
400 .driver = { 400 .driver = {
@@ -407,7 +407,6 @@ static struct platform_driver max8997_haptic_driver = {
407}; 407};
408module_platform_driver(max8997_haptic_driver); 408module_platform_driver(max8997_haptic_driver);
409 409
410MODULE_ALIAS("platform:max8997-haptic");
411MODULE_AUTHOR("Donggeun Kim <dg77.kim@samsung.com>"); 410MODULE_AUTHOR("Donggeun Kim <dg77.kim@samsung.com>");
412MODULE_DESCRIPTION("max8997_haptic driver"); 411MODULE_DESCRIPTION("max8997_haptic driver");
413MODULE_LICENSE("GPL"); 412MODULE_LICENSE("GPL");