diff options
author | Christian Gromm <christian.gromm@microchip.com> | 2017-11-21 15:05:01 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-27 09:20:35 +0100 |
commit | ed021a0f8e5b1ac2966a997e908c6a7824da6baa (patch) | |
tree | b07c56423be716caf3d7b6448ce5e8955c2d5284 /drivers/staging/most/net | |
parent | a12844410c4350305b9ae1c1e0c5d6bd87297e6b (diff) | |
download | linux-stable-ed021a0f8e5b1ac2966a997e908c6a7824da6baa.tar.gz linux-stable-ed021a0f8e5b1ac2966a997e908c6a7824da6baa.tar.bz2 linux-stable-ed021a0f8e5b1ac2966a997e908c6a7824da6baa.zip |
staging: most: rename functions to register a driver with most_core
This patch renames the functions to register and deregister a component
module with the core. It is needed because the modules that interface the
userspace are referred to as components.
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/net')
-rw-r--r-- | drivers/staging/most/net/net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/most/net/net.c b/drivers/staging/most/net/net.c index edc12ad4de61..cbe0dda011b4 100644 --- a/drivers/staging/most/net/net.c +++ b/drivers/staging/most/net/net.c @@ -506,12 +506,12 @@ static int __init most_net_init(void) { spin_lock_init(&list_lock); mutex_init(&probe_disc_mt); - return most_register_aim(&aim); + return most_register_component(&aim); } static void __exit most_net_exit(void) { - most_deregister_aim(&aim); + most_deregister_component(&aim); } /** |