summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2008-05-04 22:35:58 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-05-08 10:01:53 -0500
commita85591fd0baf4ed3f03ee1aaac6a985e400cf089 (patch)
tree8634cb2134c8632ea969c9e11eac26cd56251e12 /mm
parent2d6f0d0cd94f9b8b24102300d8dd9cbbd1688826 (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 'mm')
0 files changed, 0 insertions, 0 deletions