From: Nathan Fontenot Date: Tue, 10 Feb 2015 19:45:01 +0000 (-0600) Subject: powerpc/pseries: Declare the acquire/release drc index routines X-Git-Tag: v4.14-rc1~5577^2~9^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e51d3c2a46b0131d31594b33aacdff5aa99f0f3;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/platforms/pseries/pseries.h b/arch/powerpc/platforms/pseries/pseries.h index 1796c54..b760c9c 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;