]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: mpc8xxx_wdt: fix build
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 30 Mar 2011 13:48:22 +0000 (15:48 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 7 Apr 2011 20:20:24 +0000 (20:20 +0000)
commit6d33a9b0621dca20c472953743267444ff94631e
treee85cb723d3531b88fb0c032c06afbae926ad0f9b
parent1e3e56e8ec972efcb6c01201b5c2bcc4070bf921
watchdog: mpc8xxx_wdt: fix build

Since ea6fb53bd526404 (dt: Eliminate of_platform_{,un}register_driver)
mpc8xxx_wdt no longer builds as it tries to refer to a 'match' variable
rather than ofdev->dev.of_match that it checks just before.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/mpc8xxx_wdt.c