Merge branch 'fixes-2.6.39' into for-2.6.40

This commit is contained in:
Tejun Heo
2011-05-24 09:59:36 +02:00
830 changed files with 33390 additions and 15943 deletions

View File

@@ -145,6 +145,10 @@ static int __devinit clock_probe(struct platform_device *op)
if (!model)
return -ENODEV;
/* Only the primary RTC has an address property */
if (!of_find_property(dp, "address", NULL))
return -ENODEV;
m48t59_rtc.resource = &op->resource[0];
if (!strcmp(model, "mk48t02")) {
/* Map the clock register io area read-only */