diff options
author | Mintz, Yuval <Yuval.Mintz@cavium.com> | 2017-05-23 09:41:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-24 22:17:19 +0300 |
commit | 712c3cbf193fcadf0ba67da61432beb1a71e400b (patch) | |
tree | a82149c34e760373067cddebc970211940b9637d /include/linux/qed | |
parent | 6bc9f234ff75c15144fb9bc28d828a5ca11cd0a2 (diff) | |
download | linux-712c3cbf193fcadf0ba67da61432beb1a71e400b.tar.xz |
qed: Replace set_id() api with set_name()
Current API between qed and protocol modules allows passing an
additional private string - but it doesn't get utilized by qed
anywhere.
Clarify the API by removing it and renaming it 'set_name'.
CC: Manish Rangankar <Manish.Rangankar@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/qed')
-rw-r--r-- | include/linux/qed/qed_if.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/qed/qed_if.h b/include/linux/qed/qed_if.h index b00e6753b4f4..73c46d6d5727 100644 --- a/include/linux/qed/qed_if.h +++ b/include/linux/qed/qed_if.h @@ -520,9 +520,7 @@ struct qed_common_ops { int (*set_power_state)(struct qed_dev *cdev, pci_power_t state); - void (*set_id)(struct qed_dev *cdev, - char name[], - char ver_str[]); + void (*set_name) (struct qed_dev *cdev, char name[]); /* Client drivers need to make this call before slowpath_start. * PF params required for the call before slowpath_start is |