diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-01-31 19:55:17 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-02-14 15:55:17 +0100 |
commit | 53923354d69e4748506bfee932b7c6b309a15c21 (patch) | |
tree | 3d6e2d0fac4f26f53cbff549ad31b0032006c99d /drivers/s390 | |
parent | add09d61fee72d7a346051332b6d99f18989504c (diff) |
s390/pci: fix hotplug module init
Loading the pci hotplug module when no devices are present will fail
but unfortunately some hotplug callbacks stay registered to the pci
bus level. Fix this by not letting module loading fail when no pci
devices are present and provide proper {de}registration functions
for these callbacks.
Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions