OSDN Git Service

staging: most: remove dependency on networking-aim
authorAndrey Shvetsov <andrey.shvetsov@k2l.de>
Fri, 12 May 2017 10:59:54 +0000 (12:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 09:59:09 +0000 (11:59 +0200)
commitd35bbfaa4a4fe17abccf54c67a1861a362ed0b52
treef896c86a17ac4cc3bc2ae0fa54f67c6a0e67766d
parent78a900205cb917d45d6dd82c67c61ff707dc10d0
staging: most: remove dependency on networking-aim

The modules hdm-usb and hdm-dim2 depend on the module aim-network, because
they use the function most_deliver_netinfo that it exports.

To remove this dependency, this patch replaces the call of the function
most_deliver_netinfo with the call of the function that is the parameter
'on_netinfo' of the function request_netinfo.

Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-network/networking.c
drivers/staging/most/aim-network/networking.h [deleted file]
drivers/staging/most/hdm-dim2/Kconfig
drivers/staging/most/hdm-dim2/dim2_hdm.c
drivers/staging/most/hdm-usb/Kconfig
drivers/staging/most/hdm-usb/hdm_usb.c
drivers/staging/most/mostcore/mostcore.h