aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Sierra <asierra@xes-inc.com>2016-12-06 20:09:16 -0500
committerJiri Kosina <jkosina@suse.cz>2016-12-14 04:54:29 -0500
commit74dcba3589fc184c7118905eda22b3a4aaef95ff (patch)
treeea0a76f20268ca7202f8a3b9407d6d5c833c8de6
parentecbf12882f90d95decbc0e4cf100ef6935e96445 (diff)
NTB: correct ntb_spad_count comment typo
The comment for ntb_spad_count incorrectly referred to ntb_mw_count. Signed-off-by: Aaron Sierra <asierra@xes-inc.com> Acked-by: Allen Hubbe <Allen.Hubbe@dell.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--include/linux/ntb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ntb.h b/include/linux/ntb.h
index 6f47562d477b..50a7dbe88cf3 100644
--- a/include/linux/ntb.h
+++ b/include/linux/ntb.h
@@ -896,7 +896,7 @@ static inline int ntb_spad_is_unsafe(struct ntb_dev *ntb)
896} 896}
897 897
898/** 898/**
899 * ntb_mw_count() - get the number of scratchpads 899 * ntb_spad_count() - get the number of scratchpads
900 * @ntb: NTB device context. 900 * @ntb: NTB device context.
901 * 901 *
902 * Hardware and topology may support a different number of scratchpads. 902 * Hardware and topology may support a different number of scratchpads.