Skip to content
Snippets Groups Projects
Commit 8b55dc86 authored by Yutaro Ohno's avatar Yutaro Ohno Committed by Miguel Ojeda
Browse files

rust: kernel: fix THIS_MODULE header path in ThisModule doc comment


The doc comment for `ThisModule` incorrectly states the C header file
for `THIS_MODULE` as `include/linux/export.h`, while the correct path is
`include/linux/init.h`. This is because `THIS_MODULE` was moved in
commit 5b20755b ("init: move THIS_MODULE from <linux/export.h> to
<linux/init.h>").

Update the doc comment for `ThisModule` to reflect the correct header
file path for `THIS_MODULE`.

Fixes: 5b20755b ("init: move THIS_MODULE from <linux/export.h> to <linux/init.h>")
Signed-off-by: default avatarYutaro Ohno <yutaro.ono.418@gmail.com>
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/ZxXDZwxWgoEiIYkj@ohnotp


Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
parent 6e86292f
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment