diff options
author | Christoph Hellwig <hch@lst.de> | 2014-11-12 18:34:51 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-11-24 20:01:28 +0100 |
commit | 3af6b35261182ff185db1f0fd271254147e2663e (patch) | |
tree | 13fbac49b3ecb681bf69b13301eca9352e545573 /drivers/scsi/ses.c | |
parent | 82042a2cdb55cd8402207f14a6e2c24d7a5febe8 (diff) | |
download | op-kernel-dev-3af6b35261182ff185db1f0fd271254147e2663e.zip op-kernel-dev-3af6b35261182ff185db1f0fd271254147e2663e.tar.gz |
scsi: remove scsi_driver owner field
The driver core driver structure has grown an owner field and now
requires it to be set for all modular drivers. Set it up for
all scsi_driver instances and get rid of the now superflous
scsi_driver owner field.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Shane M Seymour <shane.seymour@hp.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com
Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'drivers/scsi/ses.c')
-rw-r--r-- | drivers/scsi/ses.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ses.c b/drivers/scsi/ses.c index 80bfece..b7e79e7 100644 --- a/drivers/scsi/ses.c +++ b/drivers/scsi/ses.c @@ -693,9 +693,9 @@ static struct class_interface ses_interface = { }; static struct scsi_driver ses_template = { - .owner = THIS_MODULE, .gendrv = { .name = "ses", + .owner = THIS_MODULE, .probe = ses_probe, .remove = ses_remove, }, |