]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: Move cpci_hotplug_init() proto to header file
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 15 Apr 2013 16:44:18 +0000 (10:44 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 15 Apr 2013 16:44:18 +0000 (10:44 -0600)
commitc3139ba212ddc240656f4bcfc7c946418cd83e19
treea5aa9746a5f646ed25ea426173f1b06269dbde85
parent9738abedd6721926dfb25fe6912be207b7168d03
PCI: Move cpci_hotplug_init() proto to header file

cpci_hotplug_init() and cpci_hotplug_exit() are defined in
cpci_hotplug_core.c but had extern declarations in pci_hotplug_core.c.
This puts the declarations in a header file included both places so
the compiler can help keep everything consistent.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/cpci_hotplug.h
drivers/pci/hotplug/pci_hotplug_core.c