summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/srp/ib_srp.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2008-03-06 00:13:36 +0100
committerGreg Kroah-Hartman2008-04-20 04:10:30 +0200
commit05321937469a8592d6a6d35f1d38ca882d243044 (patch)
treeac164db005c0cbabf58a9bf99533dee9c6e03c3b /drivers/infiniband/ulp/srp/ib_srp.h
parentIB: convert struct class_device to struct device (diff)
downloadkernel-qcow2-linux-05321937469a8592d6a6d35f1d38ca882d243044.tar.gz
kernel-qcow2-linux-05321937469a8592d6a6d35f1d38ca882d243044.tar.xz
kernel-qcow2-linux-05321937469a8592d6a6d35f1d38ca882d243044.zip
IB: rename "dev" to "srp_dev" in srp_host structure
This sets us up to be able to convert the srp_host to use a struct device instead of a class_device. Based on a original patch from Tony Jones, but split up into this piece by Greg. Signed-off-by: Tony Jones <tonyj@suse.de> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Reviewed-by: Roland Dreier <rolandd@cisco.com> Cc: Sean Hefty <sean.hefty@intel.com> Cc: Hal Rosenstock <hal.rosenstock@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/infiniband/ulp/srp/ib_srp.h')
-rw-r--r--drivers/infiniband/ulp/srp/ib_srp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.h b/drivers/infiniband/ulp/srp/ib_srp.h
index cb6eb816024a..67e17c336a50 100644
--- a/drivers/infiniband/ulp/srp/ib_srp.h
+++ b/drivers/infiniband/ulp/srp/ib_srp.h
@@ -97,7 +97,7 @@ struct srp_device {
};
struct srp_host {
- struct srp_device *dev;
+ struct srp_device *srp_dev;
u8 port;
struct class_device class_dev;
struct list_head target_list;