aboutsummaryrefslogtreecommitdiff
path: root/lib/rational.c
diff options
context:
space:
mode:
authorStefano Babic <[email protected]>2017-01-20 10:38:20 -0500
committerGreg Kroah-Hartman <[email protected]>2017-01-25 11:41:44 +0100
commit9797484ba83d68f18fe1cbd964b7cd830f78f0f7 (patch)
treea09aea363332e4db07c6fe439a787daea069b9aa /lib/rational.c
parent9ba60573638e2006170ebcc5489fb1e068afbc8f (diff)
VME: restore bus_remove function causing incomplete module unload
Commit 050c3d52cc7810d9d17b8cd231708609af6876ae ("vme: make core vme support explicitly non-modular") dropped the remove function because it appeared as if it was for removal of the bus, which is not supported. However, vme_bus_remove() is called when a VME device is removed from the bus and not when the bus is removed; as it calls the VME device driver's cleanup function. Without this function, the remove() in the VME device driver is never called and VME device drivers cannot be reloaded again. Here we restore the remove function that was deleted in that commit, and the reference to the function in the bus structure. Fixes: 050c3d52cc78 ("vme: make core vme support explicitly non-modular") Cc: Manohar Vanga <[email protected]> Acked-by: Martyn Welch <[email protected]> Cc: [email protected] Signed-off-by: Stefano Babic <[email protected]> Signed-off-by: Paul Gortmaker <[email protected]> Cc: stable <[email protected]> # 4.9 Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/rational.c')
0 files changed, 0 insertions, 0 deletions