diff options
Diffstat (limited to 'rtemsbsd/powerpc/include/linux/of_address.h')
-rw-r--r-- | rtemsbsd/powerpc/include/linux/of_address.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rtemsbsd/powerpc/include/linux/of_address.h b/rtemsbsd/powerpc/include/linux/of_address.h index 928b7e58..e82c538b 100644 --- a/rtemsbsd/powerpc/include/linux/of_address.h +++ b/rtemsbsd/powerpc/include/linux/of_address.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 embedded brains GmbH + * Copyright (c) 2015, 2018 embedded brains GmbH * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -34,6 +34,8 @@ extern "C" { #endif /* __cplusplus */ +uint64_t of_translate_address(struct device_node *dn, const uint32_t *addr); + int of_address_to_resource(struct device_node *dn, int index, struct resource *res); |