From: Konstantin Khlebnikov Date: Fri, 14 Dec 2012 11:02:44 +0000 (+0400) Subject: staging: vme_pio2: fix oops on module unloading X-Git-Tag: v3.8-rc4~24^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9349f8af28ea89639b3c97da583d60631ed10398;p=pandora-kernel.git 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 Cc: Manohar Vanga Acked-by: Martyn Welch Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed