2021-02-23 11:18:39

by FLAVIO SULIGOI

[permalink] [raw]
Subject: [PATCH] docs: watchdog: fix obsolete include file reference in pcwd

The file linux/pcwd.h is not more present in the kernel
sources. Its information is now moved into the file:

include/uapi/linux/watchdog.h

Signed-off-by: Flavio Suligoi <[email protected]>
---
Documentation/watchdog/pcwd-watchdog.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/watchdog/pcwd-watchdog.rst b/Documentation/watchdog/pcwd-watchdog.rst
index 405e2a370082..151505c856f6 100644
--- a/Documentation/watchdog/pcwd-watchdog.rst
+++ b/Documentation/watchdog/pcwd-watchdog.rst
@@ -47,7 +47,7 @@ Documentation and Driver by Ken Hollis <[email protected]>
WDIOC_GETSTATUS
This returns the status of the card, with the bits of
WDIOF_* bitwise-anded into the value. (The comments
- are in linux/pcwd.h)
+ are in include/uapi/linux/watchdog.h)

WDIOC_GETBOOTSTATUS
This returns the status of the card that was reported
--
2.25.1


2021-03-02 17:43:12

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] docs: watchdog: fix obsolete include file reference in pcwd

Flavio Suligoi <[email protected]> writes:

> The file linux/pcwd.h is not more present in the kernel
> sources. Its information is now moved into the file:
>
> include/uapi/linux/watchdog.h
>
> Signed-off-by: Flavio Suligoi <[email protected]>
> ---
> Documentation/watchdog/pcwd-watchdog.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

jon