SCSI: convert struct class_device to struct device
[platform/kernel/linux-starfive.git] / drivers / infiniband / ulp / srp / ib_srp.h
index cb6eb81..63d2ae7 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;