<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/of_platform.h, branch v3.12.43</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.12.43</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.12.43'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2013-06-12T11:37:30Z</updated>
<entry>
<title>of: remove of_platform_driver</title>
<updated>2013-06-12T11:37:30Z</updated>
<author>
<name>Rob Herring</name>
<email>rob.herring@calxeda.com</email>
</author>
<published>2013-04-21T21:40:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f70c64f8b095c0c386840f2036a79523bfd66725'/>
<id>urn:sha1:f70c64f8b095c0c386840f2036a79523bfd66725</id>
<content type='text'>
The last user of of_platform_driver is converted to a regular
platform_driver, so of_platform_driver can be removed now.

Signed-off-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Tested-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Grant Likely &lt;grant.likely@linaro.org&gt;
</content>
</entry>
<entry>
<title>of: remove #ifdef from linux/of_platform.h</title>
<updated>2013-06-12T09:23:17Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2013-05-31T22:22:52Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8a46f4f7f95f2bece108998a2e1b87b58f99d590'/>
<id>urn:sha1:8a46f4f7f95f2bece108998a2e1b87b58f99d590</id>
<content type='text'>
A lot of code uses the functions from of_platform.h when built for
devicetree-enabled platforms but can also be built without them.
In order to avoid using #ifdef everywhere in drivers, this
makes all the function declarations visible, which means we
can use "if (IS_ENABLED(CONFIG_OF))" in driver code and get build
coverage over the code but let the compiler drop the reference
in the object code.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Grant Likely &lt;grant.likely@linaro.org&gt;
Cc: Rob Herring &lt;rob.herring@calxeda.com&gt;
Signed-off-by: Grant Likely &lt;grant.likely@linaro.org&gt;
</content>
</entry>
<entry>
<title>&lt;linux/of_platform.h&gt;: fix compilation warnings with DT disabled</title>
<updated>2013-04-09T19:58:32Z</updated>
<author>
<name>Sergei Shtylyov</name>
<email>sergei.shtylyov@cogentembedded.com</email>
</author>
<published>2013-02-18T23:58:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d450f445f9a654080a6be4094376c2192d9a1f36'/>
<id>urn:sha1:d450f445f9a654080a6be4094376c2192d9a1f36</id>
<content type='text'>
Fix the following compilation warnings (in Simon Horman's renesas.git repo):

In file included from arch/arm/mach-shmobile/setup-r8a7779.c:24:0:
include/linux/of_platform.h:107:13: warning: ‘struct of_device_id’ declared
inside parameter list [enabled by default]
include/linux/of_platform.h:107:13: warning: its scope is only this definition
or declaration, which is probably not what you want [enabled by default]
include/linux/of_platform.h:107:13: warning: ‘struct device_node’ declared
inside parameter list [enabled by default]

&lt;linux/of_platform.h&gt; only #include's headers with definitions of the above
mentioned structures if CONFIG_OF_DEVICE=y but uses them even if not. One
solution is to move some #include's out of #ifdef CONFIG_OF_DEVICE and use
incomplete declarations for the rest of the structures where the #ifdef move
doesn't help...

Reported-by: Vladimir Barinov &lt;vladimir.barinov@cogentembedded.com&gt;
Signed-off-by: Sergei Shtylyov &lt;sergei.shtylyov@cogentembedded.com&gt;
Signed-off-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
</content>
</entry>
<entry>
<title>of: define struct device in of_platform.h if !OF_DEVICE and !OF_ADDRESS</title>
<updated>2012-12-19T16:15:17Z</updated>
<author>
<name>Jonas Gorski</name>
<email>jogo@openwrt.org</email>
</author>
<published>2012-12-19T15:10:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ab28698d33af05abab0bcf8021eafe38f7434f24'/>
<id>urn:sha1:ab28698d33af05abab0bcf8021eafe38f7434f24</id>
<content type='text'>
Fixes the following warning:

include/linux/of_platform.h:106:13: warning: 'struct device' declared
inside parameter list [enabled by default]
include/linux/of_platform.h:106:13: warning: its scope is only this
definition or declaration, which is probably not what you want [enabled
by default]

Signed-off-by: Jonas Gorski &lt;jogo@openwrt.org&gt;
Signed-off-by: Rob Herring &lt;robherring2@gmail.com&gt;
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>dt: fix twl4030 for non-dt compile on x86</title>
<updated>2012-03-05T15:09:09Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2012-03-03T04:05:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e7cc3aca0f6a36b018934264ee20bee45dc13e29'/>
<id>urn:sha1:e7cc3aca0f6a36b018934264ee20bee45dc13e29</id>
<content type='text'>
twl4030 still doesn't build correctly for x86 allmodconfig.  This
fix solves the missing symbol errors.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Acked-by: Benoit Cousson &lt;b-cousson@ti.com&gt;
</content>
</entry>
<entry>
<title>devicetree: Add empty of_platform_populate() for !CONFIG_OF_ADDRESS (sparc)</title>
<updated>2012-02-26T23:48:06Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2012-02-24T21:58:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=964dba283439a4db50dae61d3afe6e438b7fc30f'/>
<id>urn:sha1:964dba283439a4db50dae61d3afe6e438b7fc30f</id>
<content type='text'>
Sparc has its own helpers for translating address ranges when the device
tree is parsed at boot time, and it isn't able to use of_platform_populate().
However, there are some device drivers that want to use that function on
other DT enabled platforms (ie. TWL4030).  This patch adds an empty
of_platform_populate() implementation that returns an error when
CONFIG_OF_ADDRESS is not selected.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Benoit Cousson &lt;b-cousson@ti.com&gt;
Cc: Samuel Ortiz &lt;sameo@linux.intel.com&gt;</content>
</entry>
<entry>
<title>of_platform.h: delete needless include &lt;linux/module.h&gt;</title>
<updated>2011-10-31T23:32:27Z</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2011-05-26T19:58:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7755c47123a927de480826f4448a0c215a639f12'/>
<id>urn:sha1:7755c47123a927de480826f4448a0c215a639f12</id>
<content type='text'>
There is nothing modular in this file, and no reason to drag
in all the 357 headers that module.h brings with it, since
it just slows down compiles.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>dt/platform: allow device name to be overridden</title>
<updated>2011-06-21T17:04:10Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2011-06-21T16:59:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=15c3597d6ea47e8f3caf068887c4666165df63ad'/>
<id>urn:sha1:15c3597d6ea47e8f3caf068887c4666165df63ad</id>
<content type='text'>
Some platform code has specific requirements on the naming of devices.
This patch allows callers of of_platform_populate() to provide a
device name lookup table.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>dt: add of_platform_populate() for creating device from the device tree</title>
<updated>2011-06-21T17:02:29Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2011-06-21T16:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=29d4f8a4974aacf46b028fa92f9dd3ffdba3e614'/>
<id>urn:sha1:29d4f8a4974aacf46b028fa92f9dd3ffdba3e614</id>
<content type='text'>
of_platform_populate() is similar to of_platform_bus_probe() except
that it strictly enforces that all device nodes must have a compatible
property, and it can be used to register devices (not buses) which are
children of the root node.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
<entry>
<title>dt: Add default match table for bus ids</title>
<updated>2011-06-21T17:02:29Z</updated>
<author>
<name>Grant Likely</name>
<email>grant.likely@secretlab.ca</email>
</author>
<published>2011-06-21T16:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=cbb49c2665eebfd1fa2e491403684d0542662137'/>
<id>urn:sha1:cbb49c2665eebfd1fa2e491403684d0542662137</id>
<content type='text'>
No need for most platforms to define their own bus table when calling
of_platform_populate().  Supply a stock one.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
</content>
</entry>
</feed>
