Commit 9f10ddbd authored by Nicolas Saenz Julienne's avatar Nicolas Saenz Julienne Committed by Greg Kroah-Hartman

staging: vchiq: Make vchiq_add_service() local

The function is being exported although there is no use for it outside
of vchiq's core code. Keep it local then.
Signed-off-by: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Link: https://lore.kernel.org/r/20200629150945.10720-39-nsaenzjulienne@suse.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent af948db0
...@@ -271,7 +271,7 @@ enum vchiq_status vchiq_connect(struct vchiq_instance *instance) ...@@ -271,7 +271,7 @@ enum vchiq_status vchiq_connect(struct vchiq_instance *instance)
} }
EXPORT_SYMBOL(vchiq_connect); EXPORT_SYMBOL(vchiq_connect);
enum vchiq_status vchiq_add_service( static enum vchiq_status vchiq_add_service(
struct vchiq_instance *instance, struct vchiq_instance *instance,
const struct vchiq_service_params *params, const struct vchiq_service_params *params,
unsigned int *phandle) unsigned int *phandle)
...@@ -308,7 +308,6 @@ enum vchiq_status vchiq_add_service( ...@@ -308,7 +308,6 @@ enum vchiq_status vchiq_add_service(
return status; return status;
} }
EXPORT_SYMBOL(vchiq_add_service);
enum vchiq_status vchiq_open_service( enum vchiq_status vchiq_open_service(
struct vchiq_instance *instance, struct vchiq_instance *instance,
......
...@@ -94,9 +94,6 @@ struct vchiq_instance; ...@@ -94,9 +94,6 @@ struct vchiq_instance;
extern enum vchiq_status vchiq_initialise(struct vchiq_instance **pinstance); extern enum vchiq_status vchiq_initialise(struct vchiq_instance **pinstance);
extern enum vchiq_status vchiq_shutdown(struct vchiq_instance *instance); extern enum vchiq_status vchiq_shutdown(struct vchiq_instance *instance);
extern enum vchiq_status vchiq_connect(struct vchiq_instance *instance); extern enum vchiq_status vchiq_connect(struct vchiq_instance *instance);
extern enum vchiq_status vchiq_add_service(struct vchiq_instance *instance,
const struct vchiq_service_params *params,
unsigned int *pservice);
extern enum vchiq_status vchiq_open_service(struct vchiq_instance *instance, extern enum vchiq_status vchiq_open_service(struct vchiq_instance *instance,
const struct vchiq_service_params *params, const struct vchiq_service_params *params,
unsigned int *pservice); unsigned int *pservice);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment