.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * pci_slot.c - ACPI PCI Slot Driver |
---|
3 | 4 | * |
---|
.. | .. |
---|
11 | 12 | * |
---|
12 | 13 | * Copyright (C) 2013 Huawei Tech. Co., Ltd. |
---|
13 | 14 | * Jiang Liu <jiang.liu@huawei.com> |
---|
14 | | - * |
---|
15 | | - * This program is free software; you can redistribute it and/or modify it |
---|
16 | | - * under the terms and conditions of the GNU General Public License, |
---|
17 | | - * version 2, as published by the Free Software Foundation. |
---|
18 | | - * |
---|
19 | | - * This program is distributed in the hope that it will be useful, but |
---|
20 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
21 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
22 | | - * General Public License for more details. |
---|
23 | 15 | */ |
---|
24 | 16 | |
---|
25 | 17 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
---|
.. | .. |
---|
35 | 27 | #include <linux/pci-acpi.h> |
---|
36 | 28 | |
---|
37 | 29 | static int check_sta_before_sun; |
---|
38 | | - |
---|
39 | | -#define _COMPONENT ACPI_PCI_COMPONENT |
---|
40 | | -ACPI_MODULE_NAME("pci_slot"); |
---|
41 | 30 | |
---|
42 | 31 | #define SLOT_NAME_SIZE 21 /* Inspired by #define in acpiphp.h */ |
---|
43 | 32 | |
---|