Source
1
+
// SPDX-License-Identifier: GPL-2.0
1
2
/*
2
3
* Intel INT3496 ACPI device extcon driver
3
4
*
4
5
* Copyright (c) 2016 Hans de Goede <hdegoede@redhat.com>
5
6
*
6
7
* Based on android x86 kernel code which is:
7
8
*
8
9
* Copyright (c) 2014, Intel Corporation.
9
10
* Author: David Cohen <david.a.cohen@linux.intel.com>
10
-
*
11
-
* This program is free software; you can redistribute it and/or modify
12
-
* it under the terms of the GNU General Public License version 2 as
13
-
* published by the Free Software Foundation.
14
-
*
15
-
* This program is distributed in the hope that it will be useful,
16
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
-
* GNU General Public License for more details.
19
11
*/
20
12
21
13
#include <linux/acpi.h>
22
14
#include <linux/extcon-provider.h>
23
15
#include <linux/gpio/consumer.h>
24
16
#include <linux/interrupt.h>
25
17
#include <linux/module.h>
26
18
#include <linux/platform_device.h>
27
19
28
20
#define INT3496_GPIO_USB_ID 0
185
177
.acpi_match_table = int3496_acpi_match,
186
178
},
187
179
.probe = int3496_probe,
188
180
.remove = int3496_remove,
189
181
};
190
182
191
183
module_platform_driver(int3496_driver);
192
184
193
185
MODULE_AUTHOR("Hans de Goede <hdegoede@redhat.com>");
194
186
MODULE_DESCRIPTION("Intel INT3496 ACPI device extcon driver");
195
-
MODULE_LICENSE("GPL");
187
+
MODULE_LICENSE("GPL v2");