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)
commit49c61cca2b6591a28ffa4abb73c718091f569746
tree59867e7f9e0687df4259f297a5f37b48f37de78b
parent29f3eb64634cf96903a3cdb56b1f9a80bebad17d
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