[WATCHDOG] doc: Fix use of WDIOC_SETOPTIONS ioctl.
authorJames Hogan <james.hogan@imgtec.com>
Mon, 5 Apr 2010 10:31:29 +0000 (11:31 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 6 Apr 2010 14:23:55 +0000 (14:23 +0000)
commitdfc333834cb86805485920dc77ee0f2fbb484462
treefe89d56964d20d1584570018896f7131d2f4cea7
parentcf9cf9aed19f529ff313c3e0901ae3b2972eaf4e
[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 <james.hogan@imgtec.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/watchdog/src/watchdog-test.c
Documentation/watchdog/watchdog-api.txt