Revision 5a4348d1 hw/ppc/spapr_rtas.c

b/hw/ppc/spapr_rtas.c
334 334
        return ret;
335 335
    }
336 336

  
337
    ret = qemu_devtree_setprop_cell(fdt, "/rtas", "linux,rtas-base",
338
                                    rtas_addr);
337
    ret = qemu_fdt_setprop_cell(fdt, "/rtas", "linux,rtas-base",
338
                                rtas_addr);
339 339
    if (ret < 0) {
340 340
        fprintf(stderr, "Couldn't add linux,rtas-base property: %s\n",
341 341
                fdt_strerror(ret));
342 342
        return ret;
343 343
    }
344 344

  
345
    ret = qemu_devtree_setprop_cell(fdt, "/rtas", "linux,rtas-entry",
346
                                    rtas_addr);
345
    ret = qemu_fdt_setprop_cell(fdt, "/rtas", "linux,rtas-entry",
346
                                rtas_addr);
347 347
    if (ret < 0) {
348 348
        fprintf(stderr, "Couldn't add linux,rtas-entry property: %s\n",
349 349
                fdt_strerror(ret));
350 350
        return ret;
351 351
    }
352 352

  
353
    ret = qemu_devtree_setprop_cell(fdt, "/rtas", "rtas-size",
354
                                    rtas_size);
353
    ret = qemu_fdt_setprop_cell(fdt, "/rtas", "rtas-size",
354
                                rtas_size);
355 355
    if (ret < 0) {
356 356
        fprintf(stderr, "Couldn't add rtas-size property: %s\n",
357 357
                fdt_strerror(ret));
......
365 365
            continue;
366 366
        }
367 367

  
368
        ret = qemu_devtree_setprop_cell(fdt, "/rtas", call->name,
369
                                        i + TOKEN_BASE);
368
        ret = qemu_fdt_setprop_cell(fdt, "/rtas", call->name,
369
                                    i + TOKEN_BASE);
370 370
        if (ret < 0) {
371 371
            fprintf(stderr, "Couldn't add rtas token for %s: %s\n",
372 372
                    call->name, fdt_strerror(ret));

Also available in: Unified diff