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)
commitd856b418464024dba4c7e901bab74dfb9a030d2e
treee85cb723d3531b88fb0c032c06afbae926ad0f9b
parent8b9686ff4ddfdf45662024edd567920e6db87beb
watchdog: mpc8xxx_wdt: fix build

Since 1c48a5c93da6313 (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