summaryrefslogtreecommitdiff
path: root/include/linux/ntb.h
diff options
context:
space:
mode:
authorAaron Sierra <asierra@xes-inc.com>2016-12-07 04:09:16 +0300
committerJiri Kosina <jkosina@suse.cz>2016-12-14 12:54:29 +0300
commit74dcba3589fc184c7118905eda22b3a4aaef95ff (patch)
treeea0a76f20268ca7202f8a3b9407d6d5c833c8de6 /include/linux/ntb.h
parentecbf12882f90d95decbc0e4cf100ef6935e96445 (diff)
downloadlinux-74dcba3589fc184c7118905eda22b3a4aaef95ff.tar.xz
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>
Diffstat (limited to 'include/linux/ntb.h')
-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)
}
/**
- * ntb_mw_count() - get the number of scratchpads
+ * ntb_spad_count() - get the number of scratchpads
* @ntb: NTB device context.
*
* Hardware and topology may support a different number of scratchpads.