diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-10-01 12:46:06 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-10-05 21:11:24 +1100 |
commit | 948ad1acaf456b7213731cd9eb58654930335070 (patch) | |
tree | f8dc71d36da1664223f67d985dddb5f60e044d73 /arch/powerpc/platforms/pseries/of_helpers.h | |
parent | 5ada62b1070a57562664713bbf46a78d5dc4cb23 (diff) | |
download | lwn-948ad1acaf456b7213731cd9eb58654930335070.tar.gz lwn-948ad1acaf456b7213731cd9eb58654930335070.zip |
powerpc/pseries: extract of_helpers module
Extract a new module to share the code between other modules.
There is no functional change.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/pseries/of_helpers.h')
-rw-r--r-- | arch/powerpc/platforms/pseries/of_helpers.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/of_helpers.h b/arch/powerpc/platforms/pseries/of_helpers.h new file mode 100644 index 000000000000..bb83d39aef65 --- /dev/null +++ b/arch/powerpc/platforms/pseries/of_helpers.h @@ -0,0 +1,8 @@ +#ifndef _PSERIES_OF_HELPERS_H +#define _PSERIES_OF_HELPERS_H + +#include <linux/of.h> + +struct device_node *pseries_of_derive_parent(const char *path); + +#endif /* _PSERIES_OF_HELPERS_H */ |