diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2012-12-14 11:02:44 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-07 21:56:24 (GMT) |
commit | 9349f8af28ea89639b3c97da583d60631ed10398 (patch) | |
tree | e4556c2aeb97fbcea025f2e1dceaa1f8fe24fc8d /drivers/staging/comedi | |
parent | 6102c48bd421074a33e102f2ebda3724e8d275f9 (diff) | |
download | linux-fsl-qoriq-9349f8af28ea89639b3c97da583d60631ed10398.tar.xz |
staging: vme_pio2: fix oops on module unloading
This patch forbids loading vme_pio2 module without specifing "num_bus" parameter.
Otherwise on module unloading pio2_exit() calls vme_unregister_driver() for not
registered pio2_driver.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Manohar Vanga <manohar.vanga@gmail.com>
Acked-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi')
0 files changed, 0 insertions, 0 deletions