Skip to contentSkip to conversation

docs: sonypi: Fix stale header file path

PATCH In review Costa Shulyupin 2 participants 2 messages May 31 – Jun 1 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: sonypi: Fix stale header file path

The sonypi.h header was moved from drivers/char/ to include/linux/. Update the reference.

Assisted-by Claude:claude-opus-4-6
---
 Documentation/admin-guide/laptops/sonypi.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/laptops/sonypi.rst +1 -1
index 7541f56e0007..fb8f4a30ddce 100644
@@ -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
Signature · 1 line
2.53.0
maintainer
#1 lore raw
Quoted 14 lines · Costa Shulyupin

The sonypi.h header was moved from drivers/char/ to include/linux/. Update the reference.

Assisted-by Claude:claude-opus-4-6
---
 Documentation/admin-guide/laptops/sonypi.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/laptops/sonypi.rst +0 -0
index 7541f56e0007..fb8f4a30ddce 100644

Documentation/admin-guide/laptops/sonypi.rst statically linked into the kernel). Those options are: · line 93

Quoted 6 lines
Documentation/admin-guide/laptops/sonypi.rst +1 -1
@@ -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