Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1302774
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [RFC v2 1/4] of: make of_mutex public |
| Date | 2016-01-06 15:00 +0100 |
| Message-ID | <qNWN4-1SF-13@gated-at.bofh.it> (permalink) |
| References | <qNWN3-1SF-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Wolfram Sang <wsa+renesas@sang-engineering.com>
If we want to use OF_DYNAMIC features outside the of framework, we need
to access this lock.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
drivers/of/of_private.h | 1 -
include/linux/of.h | 2 ++
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/of/of_private.h b/drivers/of/of_private.h
index 8e882e706cd8c6..f92ec41efb5dfd 100644
--- a/drivers/of/of_private.h
+++ b/drivers/of/of_private.h
@@ -31,7 +31,6 @@ struct alias_prop {
char stem[0];
};
-extern struct mutex of_mutex;
extern struct list_head aliases_lookup;
extern struct kset *of_kset;
diff --git a/include/linux/of.h b/include/linux/of.h
index dd10626a615fb1..acac979063f067 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -32,6 +32,8 @@
typedef u32 phandle;
typedef u32 ihandle;
+extern struct mutex of_mutex;
+
struct property {
char *name;
int length;
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC v2 0/4] i2c/of: switch I2C IP cores at runtime via OF_DYNAMIC Wolfram Sang <wsa@the-dreams.de> - 2016-01-06 15:00 +0100
[RFC v2 1/4] of: make of_mutex public Wolfram Sang <wsa@the-dreams.de> - 2016-01-06 15:00 +0100
Re: [RFC v2 1/4] of: make of_mutex public Geert Uytterhoeven <geert@linux-m68k.org> - 2016-01-06 15:30 +0100
[RFC v2 3/4] i2c: mux: demux-pinctrl: add driver Wolfram Sang <wsa@the-dreams.de> - 2016-01-06 15:00 +0100
Re: [RFC v2 3/4] i2c: mux: demux-pinctrl: add driver Geert Uytterhoeven <geert@linux-m68k.org> - 2016-01-06 15:30 +0100
Re: [RFC v2 3/4] i2c: mux: demux-pinctrl: add driver Wolfram Sang <wsa@the-dreams.de> - 2016-01-13 14:00 +0100
Re: [RFC v2 3/4] i2c: mux: demux-pinctrl: add driver Geert Uytterhoeven <geert@linux-m68k.org> - 2016-01-13 17:20 +0100
Re: [RFC v2 3/4] i2c: mux: demux-pinctrl: add driver Rob Herring <robh@kernel.org> - 2016-01-06 18:10 +0100
Re: [RFC v2 3/4] i2c: mux: demux-pinctrl: add driver Wolfram Sang <wsa@the-dreams.de> - 2016-01-13 14:00 +0100
[RFC v2 4/4] ARM: shmobile: r8a7790: rework dts to use i2c demuxer Wolfram Sang <wsa@the-dreams.de> - 2016-01-06 15:00 +0100
[RFC v2 2/4] dt-bindings: i2c: mux: demux-pinctrl: add bindings Wolfram Sang <wsa@the-dreams.de> - 2016-01-06 15:00 +0100
Re: [RFC v2 2/4] dt-bindings: i2c: mux: demux-pinctrl: add bindings Geert Uytterhoeven <geert@linux-m68k.org> - 2016-01-06 15:40 +0100
Re: [RFC v2 2/4] dt-bindings: i2c: mux: demux-pinctrl: add bindings Wolfram Sang <wsa@the-dreams.de> - 2016-01-13 14:00 +0100
Re: [RFC v2 2/4] dt-bindings: i2c: mux: demux-pinctrl: add bindings Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2016-01-13 15:10 +0100
Re: [RFC v2 2/4] dt-bindings: i2c: mux: demux-pinctrl: add bindings Jan Lübbe <jlu@pengutronix.de> - 2016-01-07 18:00 +0100
Re: [RFC v2 2/4] dt-bindings: i2c: mux: demux-pinctrl: add bindings Wolfram Sang <wsa@the-dreams.de> - 2016-01-13 14:10 +0100
Re: [RFC v2 2/4] dt-bindings: i2c: mux: demux-pinctrl: add bindings Rob Herring <robh@kernel.org> - 2016-01-11 04:00 +0100
Re: [RFC v2 2/4] dt-bindings: i2c: mux: demux-pinctrl: add bindings Geert Uytterhoeven <geert@linux-m68k.org> - 2016-01-11 09:10 +0100
csiph-web