]> git.baikalelectronics.ru Git - kernel.git/commit
cpcihp_generic: prevent loading without "bridge" parameter
authorAkinobu Mita <akinobu.mita@gmail.com>
Fri, 13 Oct 2006 18:07:30 +0000 (03:07 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Oct 2006 18:36:12 +0000 (11:36 -0700)
commit7ac5048ae8d02de6ef3d02d2e1a60d56cb0c177a
tree59867e7f9e0687df4259f297a5f37b48f37de78b
parentb5f48e117634de48c1dabc387e1082f05d19b21c
cpcihp_generic: prevent loading without "bridge" parameter

cpcihp_generic module requires configured "bridge" module parameter.
But it can be loaded successfully without that parameter.
Because module init call ends up returning positive value.

This patch prevents from loading without setting "bridge" module parameter.

Signed-off-by: Akinbou Mita <akinobu.mita@gmail.com>
Signed-off-by: Scott Murray <scottm@somanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/cpcihp_generic.c