Searched hist:"64474 b5235e83cc5e6002dcdb37145850ad86194" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/x86/pci/ |
H A D | mmconfig-shared.c | diff 64474b5235e83cc5e6002dcdb37145850ad86194 Mon Aug 25 16:26:36 CDT 2014 Mathias Krause <minipli@googlemail.com> 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>
|