summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorNathan Fontenot <nfont@linux.vnet.ibm.com>2015-02-10 13:45:01 -0600
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2015-03-17 11:01:48 +1100
commit5e51d3c2a46b0131d31594b33aacdff5aa99f0f3 (patch)
treed469d0625fed7cb701ff3c6ed472e67b663a1cb9 /arch/powerpc
parent366d395c8dd8f1d92f967e4a7691dadd9b9ae1bb (diff)
downloadlinux-5e51d3c2a46b0131d31594b33aacdff5aa99f0f3.tar.gz
linux-5e51d3c2a46b0131d31594b33aacdff5aa99f0f3.tar.bz2
linux-5e51d3c2a46b0131d31594b33aacdff5aa99f0f3.zip
powerpc/pseries: Declare the acquire/release drc index routines
Add declarations for dlpar_{acquire,release}_drc(...) They are already marked non-static but were missing a prototype/ [BenH: Added extern to be consistent with the rest of the file] Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/pseries/pseries.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/pseries.h b/arch/powerpc/platforms/pseries/pseries.h
index 1796c5438cc6..b760c9c45055 100644
--- a/arch/powerpc/platforms/pseries/pseries.h
+++ b/arch/powerpc/platforms/pseries/pseries.h
@@ -60,6 +60,8 @@ extern struct device_node *dlpar_configure_connector(__be32,
struct device_node *);
extern int dlpar_attach_node(struct device_node *);
extern int dlpar_detach_node(struct device_node *);
+extern int dlpar_acquire_drc(u32 drc_index);
+extern int dlpar_release_drc(u32 drc_index);
/* PCI root bridge prepare function override for pseries */
struct pci_host_bridge;