diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-05-05 03:35:58 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-05-08 15:01:53 (GMT) |
commit | a85591fd0baf4ed3f03ee1aaac6a985e400cf089 (patch) | |
tree | 8634cb2134c8632ea969c9e11eac26cd56251e12 /drivers/scsi/libiscsi.c | |
parent | 2d6f0d0cd94f9b8b24102300d8dd9cbbd1688826 (diff) | |
download | linux-fsl-qoriq-a85591fd0baf4ed3f03ee1aaac6a985e400cf089.tar.xz |
[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