On 23/06/15 21:16, Stefan Wahren wrote:
+
+struct device;
Do we need forward declaration of struct device_node too?
Yep, Will fix it in next version.
--srini
+/* consumer cookie */
[...]
--
To unsubscribe from this list: send the line unsubscribe devicetree in
the body of a message to
Srinivas Kandagatla srinivas.kandaga...@linaro.org hat am 23. Juni 2015 um
01:08 geschrieben:
[...]
--- /dev/null
+++ b/include/linux/nvmem-consumer.h
@@ -0,0 +1,75 @@
+/*
+ * nvmem framework consumer.
+ *
+ * Copyright (C) 2015 Srinivas Kandagatla srinivas.kandaga...@linaro.org
+ *
This patch adds just consumers part of the framework just to enable easy
review.
Up until now, nvmem drivers were stored in drivers/misc, where they all
had to duplicate pretty much the same code to register a sysfs file,
allow in-kernel users to access the content of the devices they were