hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/mfd/sec-irq.c
....@@ -1,19 +1,12 @@
1
-/*
2
- * sec-irq.c
3
- *
4
- * Copyright (c) 2011-2014 Samsung Electronics Co., Ltd
5
- * http://www.samsung.com
6
- *
7
- * This program is free software; you can redistribute it and/or modify it
8
- * under the terms of the GNU General Public License as published by the
9
- * Free Software Foundation; either version 2 of the License, or (at your
10
- * option) any later version.
11
- *
12
- */
1
+// SPDX-License-Identifier: GPL-2.0+
2
+//
3
+// Copyright (c) 2011-2014 Samsung Electronics Co., Ltd
4
+// http://www.samsung.com
135
146 #include <linux/device.h>
157 #include <linux/interrupt.h>
168 #include <linux/irq.h>
9
+#include <linux/module.h>
1710 #include <linux/regmap.h>
1811
1912 #include <linux/mfd/samsung/core.h>
....@@ -462,6 +455,9 @@
462455 case S5M8767X:
463456 sec_irq_chip = &s5m8767_irq_chip;
464457 break;
458
+ case S2MPA01:
459
+ sec_irq_chip = &s2mps14_irq_chip;
460
+ break;
465461 case S2MPS11X:
466462 sec_irq_chip = &s2mps11_irq_chip;
467463 break;
....@@ -501,3 +497,10 @@
501497
502498 return 0;
503499 }
500
+EXPORT_SYMBOL_GPL(sec_irq_init);
501
+
502
+MODULE_AUTHOR("Sangbeom Kim <sbkim73@samsung.com>");
503
+MODULE_AUTHOR("Chanwoo Choi <cw00.choi@samsung.com>");
504
+MODULE_AUTHOR("Krzysztof Kozlowski <krzk@kernel.org>");
505
+MODULE_DESCRIPTION("Interrupt support for the S5M MFD");
506
+MODULE_LICENSE("GPL");