x86/PCI: Move __init annotation to the correct place
authorMathias Krause <minipli@googlemail.com>
Mon, 25 Aug 2014 21:26:36 +0000 (23:26 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 24 Sep 2014 12:46:01 +0000 (06:46 -0600)
commit64474b5235e83cc5e6002dcdb37145850ad86194
tree3b0e2879a472ed35bfdb76c557f42bc14b3cbb34
parent4ac9cbfa35f2c05ed294a2b3e0bf5d0bb7cba607
x86/PCI: Move __init annotation to the correct place

According to include/linux/init.h, the __init annotation should be added
immediately before the function name.  However, for quite a few functions
in mmconfig-shared.c this is not the case.  It's either before the return
type or even in the middle of it.  Beside gcc still getting it right, we
should change them to comply to the rules of include/linux/init.h.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Ingo Molnar <mingo@kernel.org>
arch/x86/pci/mmconfig-shared.c
This page took 0.026134 seconds and 5 git commands to generate.