Changeset 26ce2ac in rtems-libbsd


Ignore:
Timestamp:
Jan 17, 2018, 1:13:53 PM (10 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
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.

Location:
rtemsbsd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtemsbsd/powerpc/include/linux/of.h

    r0d421d8 r26ce2ac  
    6262int of_n_addr_cells(struct device_node *dn);
    6363
     64int of_n_size_cells(struct device_node *dn);
     65
    6466/* FIXME: If we need the property, then more work is to do */
    6567#define of_find_property(dn, name, len) of_get_property(dn, name, len)
  • 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.