···145145 if (!model)146146 return -ENODEV;147147148148+ /* Only the primary RTC has an address property */149149+ if (!of_find_property(dp, "address", NULL))150150+ return -ENODEV;151151+148152 m48t59_rtc.resource = &op->resource[0];149153 if (!strcmp(model, "mk48t02")) {150154 /* Map the clock register io area read-only */