diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-05-04 22:35:58 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-05-08 10:01:53 -0500 |
commit | a85591fd0baf4ed3f03ee1aaac6a985e400cf089 (patch) | |
tree | 8634cb2134c8632ea969c9e11eac26cd56251e12 /drivers/scsi/libiscsi.c | |
parent | 2d6f0d0cd94f9b8b24102300d8dd9cbbd1688826 (diff) |
[SCSI] gdth: fix Error: Driver 'gdth' is already registered, aborting...
This message appears on modprobe/rmmod/modprobe of the driver. It's
caused because if the driver has no instances, it returns an error
from gdth_init, which causes the module to fail to load.
Unfortunately, the module's pci driver is still registered at this
point.
Fix this by making gdth behave like a modern driver and insert even if
it doesn't find any instances (in case of hot plug or software driven
binding).
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/libiscsi.c')
0 files changed, 0 insertions, 0 deletions