From: James Bottomley Date: Mon, 5 May 2008 03:35:58 +0000 (-0500) Subject: [SCSI] gdth: fix Error: Driver 'gdth' is already registered, aborting... X-Git-Tag: v2.6.26-rc3~69^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a85591fd0baf4ed3f03ee1aaac6a985e400cf089;p=pandora-kernel.git [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 --- Reading git-diff-tree failed