Skip to content

Commit 5e51d3c

Browse files
nfontozbenh
authored andcommitted
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 <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
1 parent 366d395 commit 5e51d3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/powerpc/platforms/pseries/pseries.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ extern struct device_node *dlpar_configure_connector(__be32,
6060
struct device_node *);
6161
extern int dlpar_attach_node(struct device_node *);
6262
extern int dlpar_detach_node(struct device_node *);
63+
extern int dlpar_acquire_drc(u32 drc_index);
64+
extern int dlpar_release_drc(u32 drc_index);
6365

6466
/* PCI root bridge prepare function override for pseries */
6567
struct pci_host_bridge;

0 commit comments

Comments
 (0)