Re: [2/5] pseries: Export drc_[acquire|release]_drc() routines
From: Nathan Fontenot <hidden>
Date: 2014-09-17 16:50:46
From: Nathan Fontenot <hidden>
Date: 2014-09-17 16:50:46
On 09/17/2014 02:07 AM, Michael Ellerman wrote:
On Mon, 2014-09-15 at 15:30 -0500, Nathan Fontenot wrote:quoted
diff --git a/arch/powerpc/platforms/pseries/pseries.h b/arch/powerpc/platforms/pseries/pseries.h index 361add6..b94516b 100644 --- a/arch/powerpc/platforms/pseries/pseries.h +++ b/arch/powerpc/platforms/pseries/pseries.h@@ -59,6 +59,8 @@ extern void dlpar_free_cc_property(struct property *); extern struct device_node *dlpar_configure_connector(u32, 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); +extern int dlpar_release_drc(u32);Please name the parameters.
Will do.
And don't bother with extern.
I was following the convention used in the file, droppping the extern is fine with me though. -Nathan