diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-09-09 15:08:32 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-09-09 15:51:23 +1000 |
commit | 6fa1a09d21dd8fb2f37de2107d990031c465fb6e (patch) | |
tree | 53c886b944b25caa5bc85697c6d9cc8b5e062864 /platforms | |
parent | ade4a4b3aedf5fbb0832b825dd2c88ffd42ba22b (diff) | |
download | skiboot-6fa1a09d21dd8fb2f37de2107d990031c465fb6e.zip skiboot-6fa1a09d21dd8fb2f37de2107d990031c465fb6e.tar.gz skiboot-6fa1a09d21dd8fb2f37de2107d990031c465fb6e.tar.bz2 |
assert dt allocation succeeded for rhesus rtc
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/rhesus/rhesus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platforms/rhesus/rhesus.c b/platforms/rhesus/rhesus.c index 2131ec0..3e2c41b 100644 --- a/platforms/rhesus/rhesus.c +++ b/platforms/rhesus/rhesus.c @@ -218,6 +218,7 @@ static void rhesus_dt_fixup_rtc(struct dt_node *lpc) * arch/powerpc/sysdev/rtc_cmos_setup.c */ rtc = dt_new_addr(lpc, "rtc", EC_RTC_PORT_BASE); + assert(rtc); dt_add_property_string(rtc, "compatible", "pnpPNP,b00"); dt_add_property_cells(rtc, "reg", 1, /* IO space */ |