.. | .. |
---|
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 |
---|
13 | 5 | |
---|
14 | 6 | #include <linux/device.h> |
---|
15 | 7 | #include <linux/interrupt.h> |
---|
16 | 8 | #include <linux/irq.h> |
---|
| 9 | +#include <linux/module.h> |
---|
17 | 10 | #include <linux/regmap.h> |
---|
18 | 11 | |
---|
19 | 12 | #include <linux/mfd/samsung/core.h> |
---|
.. | .. |
---|
462 | 455 | case S5M8767X: |
---|
463 | 456 | sec_irq_chip = &s5m8767_irq_chip; |
---|
464 | 457 | break; |
---|
| 458 | + case S2MPA01: |
---|
| 459 | + sec_irq_chip = &s2mps14_irq_chip; |
---|
| 460 | + break; |
---|
465 | 461 | case S2MPS11X: |
---|
466 | 462 | sec_irq_chip = &s2mps11_irq_chip; |
---|
467 | 463 | break; |
---|
.. | .. |
---|
501 | 497 | |
---|
502 | 498 | return 0; |
---|
503 | 499 | } |
---|
| 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"); |
---|