X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=include%2Flinux%2Fof.h;h=43b5034c6a1e0f4f931bc2ff60ee8fc50cdd8d4c;hb=37cb8e1f8e10c6e9bd2a1b95cdda0620a21b0551;hp=ef4c9ff5955a0a38ef65d0b689617fd8b3754d05;hpb=aa25e446ce76c37bfd75ac06598c316af94e9a26;p=mirror_ubuntu-bionic-kernel.git diff --git a/include/linux/of.h b/include/linux/of.h index ef4c9ff5955a..43b5034c6a1e 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -740,6 +740,16 @@ static inline struct device_node *of_get_cpu_node(int cpu, return NULL; } +static inline int of_n_addr_cells(struct device_node *np) +{ + return 0; + +} +static inline int of_n_size_cells(struct device_node *np) +{ + return 0; +} + static inline int of_property_read_u64(const struct device_node *np, const char *propname, u64 *out_value) {