of/rtc: rtc-mpc5121.c: Fix build failures
authorGrant Likely <grant.likely@secretlab.ca>
Wed, 2 Jun 2010 20:06:09 +0000 (14:06 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 2 Jun 2010 20:06:09 +0000 (14:06 -0600)
commit295bdd9c52e57daf995fe80eff8c53938443fa2f
tree42b3d5bfc666cadca64190f5290581b4f892e9df
parentb4a75c91b8a6cb80ba7772f69613025ddf75ebc2
of/rtc: rtc-mpc5121.c: Fix build failures

Fixes build errors caused by the:
- OF device_node pointer being moved into struct device
- removal of the match_table field from struct of_platform_driver

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
CC: Paul Gortmaker <p_gortmaker@yahoo.com>
CC: Alessandro Zummo <a.zummo@towertech.it>
CC: Wolfgang Denk <wd@denx.de>
CC: Tejun Heo <tj@kernel.org>
CC: Anatolij Gustschin <agust@denx.de>
CC: rtc-linux@googlegroups.com
CC: devicetree-discuss@lists.ozlabs.org
drivers/rtc/rtc-mpc5121.c