summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/hwmon/abx500.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/hwmon/abx500.c')
-rw-r--r--kernel/drivers/hwmon/abx500.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/drivers/hwmon/abx500.c b/kernel/drivers/hwmon/abx500.c
index 6cb89c0eb..d87cae8c6 100644
--- a/kernel/drivers/hwmon/abx500.c
+++ b/kernel/drivers/hwmon/abx500.c
@@ -377,7 +377,7 @@ static int setup_irqs(struct platform_device *pdev)
}
ret = devm_request_threaded_irq(&pdev->dev, irq, NULL,
- abx500_temp_irq_handler, IRQF_NO_SUSPEND, "abx500-temp", pdev);
+ abx500_temp_irq_handler, 0, "abx500-temp", pdev);
if (ret < 0)
dev_err(&pdev->dev, "Request threaded irq failed (%d)\n", ret);
@@ -470,6 +470,7 @@ static const struct of_device_id abx500_temp_match[] = {
{ .compatible = "stericsson,abx500-temp" },
{},
};
+MODULE_DEVICE_TABLE(of, abx500_temp_match);
#endif
static struct platform_driver abx500_temp_driver = {