summaryrefslogtreecommitdiff
path: root/Documentation/core-api/kobject.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-05-01 17:37:52 +0200
committerJonathan Corbet <corbet@lwn.net>2020-05-15 12:02:19 -0600
commit1ac00669c35e02c3ce3a5f7c02e65ac6edca6595 (patch)
treeffa7545b68c4e9a8b8147331ca473fbe9122860d /Documentation/core-api/kobject.rst
parente00b0ab86c79c4e82eb821ac6d6a3daef2e3e600 (diff)
docs: move the kref doc into the core-api book
This document covers core kernel objects. So, add it into the core-api book. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/f385af13b4a6d3ff8c89beedd4506900e79ca72e.1588345503.git.mchehab+huawei@kernel.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/core-api/kobject.rst')
-rw-r--r--Documentation/core-api/kobject.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/core-api/kobject.rst b/Documentation/core-api/kobject.rst
index c3ac2963283b..e93dc8cf52dd 100644
--- a/Documentation/core-api/kobject.rst
+++ b/Documentation/core-api/kobject.rst
@@ -210,7 +210,7 @@ statically and will warn the developer of this improper usage.
If all that you want to use a kobject for is to provide a reference counter
for your structure, please use the struct kref instead; a kobject would be
overkill. For more information on how to use struct kref, please see the
-file Documentation/kref.txt in the Linux kernel source tree.
+file Documentation/core-api/kref.rst in the Linux kernel source tree.
Creating "simple" kobjects