|
@@ -1009,7 +1009,7 @@ static void iscsi_flashnode_sess_release(struct device *dev)
|
|
kfree(fnode_sess);
|
|
kfree(fnode_sess);
|
|
}
|
|
}
|
|
|
|
|
|
-static struct device_type iscsi_flashnode_sess_dev_type = {
|
|
|
|
|
|
+static const struct device_type iscsi_flashnode_sess_dev_type = {
|
|
.name = "iscsi_flashnode_sess_dev_type",
|
|
.name = "iscsi_flashnode_sess_dev_type",
|
|
.groups = iscsi_flashnode_sess_attr_groups,
|
|
.groups = iscsi_flashnode_sess_attr_groups,
|
|
.release = iscsi_flashnode_sess_release,
|
|
.release = iscsi_flashnode_sess_release,
|
|
@@ -1195,7 +1195,7 @@ static void iscsi_flashnode_conn_release(struct device *dev)
|
|
kfree(fnode_conn);
|
|
kfree(fnode_conn);
|
|
}
|
|
}
|
|
|
|
|
|
-static struct device_type iscsi_flashnode_conn_dev_type = {
|
|
|
|
|
|
+static const struct device_type iscsi_flashnode_conn_dev_type = {
|
|
.name = "iscsi_flashnode_conn_dev_type",
|
|
.name = "iscsi_flashnode_conn_dev_type",
|
|
.groups = iscsi_flashnode_conn_attr_groups,
|
|
.groups = iscsi_flashnode_conn_attr_groups,
|
|
.release = iscsi_flashnode_conn_release,
|
|
.release = iscsi_flashnode_conn_release,
|