[WATCHDOG] s3c2410_wdt - initialize watchdog irq resource
authorArnaud Patard <arnaud.patard@rtp-net.org>
Sat, 5 May 2007 13:53:15 +0000 (15:53 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 6 May 2007 19:36:28 +0000 (19:36 +0000)
commit62be074147fe2e24359d76a33938df7bccea1e6a
tree97507febe57bf540df109c906b7d2c1b42eef401
parent261259b2a8c2924cbe591697e740654734ec0f7b
[WATCHDOG] s3c2410_wdt - initialize watchdog irq resource

In the error path of s3c2410wdt_probe() and in s3c2410wdt_remove(),
we're using wdt_irq without initialising it, leading to a oops.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/s3c2410_wdt.c