Commit dfc33383 authored by Committed by Wim Van SebroeckBrowse files
[WATCHDOG] doc: Fix use of WDIOC_SETOPTIONS ioctl.
In the watchdog-test program and watchdog-api.txt, pass the values to the WDIOC_SETOPTIONS ioctl as a pointer to an integer containing the values intead of directly in the third ioctl argument. The actual watchdog drivers in drivers/watchdog don't read the options directly from the argument but use get_user and copy_from_user. Signed-off-by: James Hogan <email@example.com> Signed-off-by: Wim Van Sebroeck <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com>