]> git.karo-electronics.de Git - mv-sheeva.git/commit
watchdog: sch311x_wdt.c: set parent before registeriing the misc device in probe...
authorWim Van Sebroeck <wim@iguana.be>
Thu, 10 Jun 2010 06:46:56 +0000 (06:46 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 8 Aug 2010 18:21:15 +0000 (18:21 +0000)
commit4c4b638e3718344e4caeb157cfbfde1b6a7b1562
tree7f706b464a72b35aa8f4e540d6bf415bbf18958b
parent9f2cc6f759ca0b072107c171a3b5cd79c7ea5de3
watchdog: sch311x_wdt.c: set parent before registeriing the misc device in probe() function

Set the paranet of the misc_device before we register the misc_device.

Reported-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Wim Van sebroeck <wim@iguana.be>
drivers/watchdog/sch311x_wdt.c