down_trylock -> down_try in drivers/watchdog/s3c2410_wdt.c

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
 drivers/watchdog/s3c2410_wdt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r 123acf0ce441 drivers/watchdog/s3c2410_wdt.c
--- a/drivers/watchdog/s3c2410_wdt.c	Tue May 06 10:17:33 2008 +1000
+++ b/drivers/watchdog/s3c2410_wdt.c	Tue May 06 10:25:23 2008 +1000
@@ -211,7 +211,7 @@ static int s3c2410wdt_set_heartbeat(int 
 
 static int s3c2410wdt_open(struct inode *inode, struct file *file)
 {
-	if(down_trylock(&open_lock))
+	if(!down_try(&open_lock))
 		return -EBUSY;
 
 	if (nowayout)
