提交 efda7ade 编写于 作者: H Harald Freudenberger 提交者: Martin Schwidefsky

s390/zcrypt: Make ap init functions static.

The ap init functions ap_module_init and ap_debug_init are
only used within ap_bus.c. Make these functions static and
do not declare them in any header file any more.
Signed-off-by: NHarald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 67f7c703
...@@ -1196,7 +1196,7 @@ static void ap_config_timeout(struct timer_list *unused) ...@@ -1196,7 +1196,7 @@ static void ap_config_timeout(struct timer_list *unused)
queue_work(system_long_wq, &ap_scan_work); queue_work(system_long_wq, &ap_scan_work);
} }
int __init ap_debug_init(void) static int __init ap_debug_init(void)
{ {
ap_dbf_info = debug_register("ap", 1, 1, ap_dbf_info = debug_register("ap", 1, 1,
DBF_MAX_SPRINTF_ARGS * sizeof(long)); DBF_MAX_SPRINTF_ARGS * sizeof(long));
...@@ -1211,7 +1211,7 @@ int __init ap_debug_init(void) ...@@ -1211,7 +1211,7 @@ int __init ap_debug_init(void)
* *
* Initializes the module. * Initializes the module.
*/ */
int __init ap_module_init(void) static int __init ap_module_init(void)
{ {
int max_domain_id; int max_domain_id;
int rc, i; int rc, i;
......
...@@ -23,7 +23,4 @@ ...@@ -23,7 +23,4 @@
extern debug_info_t *ap_dbf_info; extern debug_info_t *ap_dbf_info;
int ap_debug_init(void);
void ap_debug_exit(void);
#endif /* AP_DEBUG_H */ #endif /* AP_DEBUG_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册