On Thu, Jan 29, 2015 at 08:30:30AM +0900, Akinobu Mita wrote: > The owner module reference of the pata_of_platform's scsi_host is > initialized to pata_platform's one, because pata_of_platform driver > use a scsi_host_template defined in pata_platform. So this drivers > can be unloaded even if the scsi device is being accessed. > > This fixes it by propagating the scsi_host_template to pata_of_platform > driver. The scsi_host_template is passed through a new > argument of __pata_platform_probe(). > > Signed-off-by: Akinobu Mita <[email protected]> > Cc: Hans de Goede <[email protected]> > Cc: Tejun Heo <[email protected]> > Cc: Christoph Hellwig <[email protected]> > Cc: "James E.J. Bottomley" <[email protected]> > Cc: [email protected] > Cc: [email protected]
Applied 1-2 to libata/for-3.20. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

