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

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

diff -r c3219f4cc1d6 drivers/watchdog/wdt_pci.c
--- a/drivers/watchdog/wdt_pci.c	Tue May 06 10:17:33 2008 +1000
+++ b/drivers/watchdog/wdt_pci.c	Tue May 06 10:24:12 2008 +1000
@@ -426,7 +426,7 @@ static int wdtpci_ioctl(struct inode *in
 
 static int wdtpci_open(struct inode *inode, struct file *file)
 {
-	if (down_trylock(&open_sem))
+	if (!down_try(&open_sem))
 		return -EBUSY;
 
 	if (nowayout) {
