diff options
Diffstat (limited to 'drivers/platform/x86/intel-smartconnect.c')
-rw-r--r-- | drivers/platform/x86/intel-smartconnect.c | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/drivers/platform/x86/intel-smartconnect.c b/drivers/platform/x86/intel-smartconnect.c index bbe4c06c769f..64c2dc93472f 100644 --- a/drivers/platform/x86/intel-smartconnect.c +++ b/drivers/platform/x86/intel-smartconnect.c | |||
@@ -1,25 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0+ | ||
1 | /* | 2 | /* |
2 | * Copyright 2013 Matthew Garrett <mjg59@srcf.ucam.org> | 3 | * Copyright 2013 Matthew Garrett <mjg59@srcf.ucam.org> |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License as published by | ||
6 | * the Free Software Foundation; either version 2 of the License, or | ||
7 | * (at your option) any later version. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License along | ||
15 | * with this program; if not, write to the Free Software Foundation, Inc., | ||
16 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
17 | */ | 4 | */ |
18 | 5 | ||
19 | |||
20 | #include <linux/init.h> | ||
21 | #include <linux/module.h> | ||
22 | #include <linux/acpi.h> | 6 | #include <linux/acpi.h> |
7 | #include <linux/module.h> | ||
23 | 8 | ||
24 | MODULE_LICENSE("GPL"); | 9 | MODULE_LICENSE("GPL"); |
25 | 10 | ||
@@ -44,6 +29,7 @@ static const struct acpi_device_id smartconnect_ids[] = { | |||
44 | {"INT33A0", 0}, | 29 | {"INT33A0", 0}, |
45 | {"", 0} | 30 | {"", 0} |
46 | }; | 31 | }; |
32 | MODULE_DEVICE_TABLE(acpi, smartconnect_ids); | ||
47 | 33 | ||
48 | static struct acpi_driver smartconnect_driver = { | 34 | static struct acpi_driver smartconnect_driver = { |
49 | .owner = THIS_MODULE, | 35 | .owner = THIS_MODULE, |
@@ -56,5 +42,3 @@ static struct acpi_driver smartconnect_driver = { | |||
56 | }; | 42 | }; |
57 | 43 | ||
58 | module_acpi_driver(smartconnect_driver); | 44 | module_acpi_driver(smartconnect_driver); |
59 | |||
60 | MODULE_DEVICE_TABLE(acpi, smartconnect_ids); | ||