Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1242688 > unrolled thread
| Started by | Alexander Kuleshov <kuleshovmail@gmail.com> |
|---|---|
| First post | 2015-10-08 21:00 +0200 |
| Last post | 2015-10-10 01:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] x86/pci/legacy: make pci_subsys_init static Alexander Kuleshov <kuleshovmail@gmail.com> - 2015-10-08 21:00 +0200
Re: [PATCH] x86/pci/legacy: make pci_subsys_init static Bjorn Helgaas <helgaas@kernel.org> - 2015-10-10 01:40 +0200
| From | Alexander Kuleshov <kuleshovmail@gmail.com> |
|---|---|
| Date | 2015-10-08 21:00 +0200 |
| Subject | [PATCH] x86/pci/legacy: make pci_subsys_init static |
| Message-ID | <qhoA2-3B3-21@gated-at.bofh.it> |
The pci_subsys_init() is a subsys_initcall that can be declared
static.
Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
arch/x86/pci/legacy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/pci/legacy.c b/arch/x86/pci/legacy.c
index 5b662c0..ea6f380 100644
--- a/arch/x86/pci/legacy.c
+++ b/arch/x86/pci/legacy.c
@@ -54,7 +54,7 @@ void pcibios_scan_specific_bus(int busn)
}
EXPORT_SYMBOL_GPL(pcibios_scan_specific_bus);
-int __init pci_subsys_init(void)
+static int __init pci_subsys_init(void)
{
/*
* The init function returns an non zero value when
--
2.6.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Bjorn Helgaas <helgaas@kernel.org> |
|---|---|
| Date | 2015-10-10 01:40 +0200 |
| Message-ID | <qhPqy-7X-7@gated-at.bofh.it> |
| In reply to | #1242688 |
On Fri, Oct 09, 2015 at 12:51:46AM +0600, Alexander Kuleshov wrote:
> The pci_subsys_init() is a subsys_initcall that can be declared
> static.
>
> Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Applied to pci/misc for v4.4, thanks, Alexander!
I tweaked the subject to match the file's history.
> ---
> arch/x86/pci/legacy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/pci/legacy.c b/arch/x86/pci/legacy.c
> index 5b662c0..ea6f380 100644
> --- a/arch/x86/pci/legacy.c
> +++ b/arch/x86/pci/legacy.c
> @@ -54,7 +54,7 @@ void pcibios_scan_specific_bus(int busn)
> }
> EXPORT_SYMBOL_GPL(pcibios_scan_specific_bus);
>
> -int __init pci_subsys_init(void)
> +static int __init pci_subsys_init(void)
> {
> /*
> * The init function returns an non zero value when
> --
> 2.6.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web