Changeset 26ce2ac in rtems-libbsd for rtemsbsd/sys/powerpc/compat.c


Ignore:
Timestamp:
01/17/18 13:13:53 (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, 5-freebsd-12, 6-freebsd-12, master
Children:
44fca38
Parents:
0d421d8
git-author:
Sebastian Huber <sebastian.huber@…> (01/17/18 13:13:53)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/23/18 13:54:47)
Message:

linux/of.h: Add of_n_size_cells()

Update #3277.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/sys/powerpc/compat.c

    r0d421d8 r26ce2ac  
    213213
    214214int
     215of_n_size_cells(struct device_node *dn)
     216{
     217
     218        return (get_size_cells(bsp_fdt_get(), dn->offset));
     219}
     220
     221int
    215222of_address_to_resource(struct device_node *dn, int index,
    216223    struct resource *res)
Note: See TracChangeset for help on using the changeset viewer.