Documentation/admin-guide/laptops/sonypi.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The sonypi.h header was moved from drivers/char/ to
include/linux/. Update the reference.
Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Costa Shulyupin <costa.shul@redhat.com>
---
Documentation/admin-guide/laptops/sonypi.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/admin-guide/laptops/sonypi.rst b/Documentation/admin-guide/laptops/sonypi.rst
index 7541f56e0007..fb8f4a30ddce 100644
--- a/Documentation/admin-guide/laptops/sonypi.rst
+++ b/Documentation/admin-guide/laptops/sonypi.rst
@@ -89,7 +89,7 @@ statically linked into the kernel). Those options are:
set to 0xffffffff, meaning that all possible events
will be tried. You can use the following bits to
construct your own event mask (from
- drivers/char/sonypi.h)::
+ include/linux/sonypi.h)::
SONYPI_JOGGER_MASK 0x0001
SONYPI_CAPTURE_MASK 0x0002
--
2.53.0
Costa Shulyupin <costa.shul@redhat.com> writes: > The sonypi.h header was moved from drivers/char/ to > include/linux/. Update the reference. > > Assisted-by: Claude:claude-opus-4-6 > Signed-off-by: Costa Shulyupin <costa.shul@redhat.com> > --- > Documentation/admin-guide/laptops/sonypi.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/admin-guide/laptops/sonypi.rst b/Documentation/admin-guide/laptops/sonypi.rst > index 7541f56e0007..fb8f4a30ddce 100644 > --- a/Documentation/admin-guide/laptops/sonypi.rst > +++ b/Documentation/admin-guide/laptops/sonypi.rst > @@ -89,7 +89,7 @@ statically linked into the kernel). Those options are: > set to 0xffffffff, meaning that all possible events > will be tried. You can use the following bits to > construct your own event mask (from > - drivers/char/sonypi.h):: > + include/linux/sonypi.h):: > I suspect this driver has not been used in a long time, but as long as it's around the documentation should at least not be obviously wrong. Applied, thanks. jon
© 2016 - 2026 Red Hat, Inc.