summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ams/ams-input.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/ams/ams-input.c')
-rw-r--r--drivers/hwmon/ams/ams-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/ams/ams-input.c b/drivers/hwmon/ams/ams-input.c
index f126aa485134..18210164e307 100644
--- a/drivers/hwmon/ams/ams-input.c
+++ b/drivers/hwmon/ams/ams-input.c
@@ -153,7 +153,7 @@ int ams_input_init(void)
}
/* Call with ams_info.lock held! */
-void ams_input_exit()
+void ams_input_exit(void)
{
ams_input_disable();
device_remove_file(&ams_info.of_dev->dev, &dev_attr_joystick);