SCSI: convert struct class_device to struct device
[firefly-linux-kernel-4.4.55.git] / drivers / infiniband / ulp / srp / ib_srp.h
index cb6eb816024a881061d0ac48c4a423fa118fd2e8..63d2ae72406181338dc248c6554bf341205bee1e 100644 (file)
@@ -97,9 +97,9 @@ struct srp_device {
 };
 
 struct srp_host {
-       struct srp_device      *dev;
+       struct srp_device      *srp_dev;
        u8                      port;
-       struct class_device     class_dev;
+       struct device           dev;
        struct list_head        target_list;
        spinlock_t              target_lock;
        struct completion       released;