<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/sparc/kernel/of_device_common.c, branch linux-5.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-11-18T21:35:21Z</updated>
<entry>
<title>sparc: Use of_node_name_eq for node name comparisons</title>
<updated>2018-11-18T21:35:21Z</updated>
<author>
<name>Rob Herring</name>
</author>
<published>2018-11-16T21:06:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=29c990dfc77c58b21a0f2ff4640b6a26955d0661'/>
<id>urn:sha1:29c990dfc77c58b21a0f2ff4640b6a26955d0661</id>
<content type='text'>
Convert string compares of DT node names to use of_node_name_eq helper
instead. This removes direct access to the node name pointer.

Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: sparclinux@vger.kernel.org
Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sparc: fix sparse warnings in of_device_common.c</title>
<updated>2014-04-29T05:12:27Z</updated>
<author>
<name>Sam Ravnborg</name>
</author>
<published>2014-04-21T19:39:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=985edb5b16add10bb59f53208f5c1f85f9e2e4e4'/>
<id>urn:sha1:985edb5b16add10bb59f53208f5c1f85f9e2e4e4</id>
<content type='text'>
Fix following warnings (both sparc32 and sparc64):
of_device_common.c:13:14: warning: symbol 'irq_of_parse_and_map' was not declared. Should it be static?
of_device_common.c:24:5: warning: symbol 'of_address_to_resource' was not declared. Should it be static?
of_device_common.c:37:14: warning: symbol 'of_iomap' was not declared. Should it be static?

Add missing includes.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sparc: delete non-required instances of include &lt;linux/init.h&gt;</title>
<updated>2014-01-29T07:38:23Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2014-01-06T20:25:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b2abcbc5ef1c135b03c7009f98350dbad2fe293'/>
<id>urn:sha1:8b2abcbc5ef1c135b03c7009f98350dbad2fe293</id>
<content type='text'>
None of these files are actually using any __init type directives
and hence don't need to include &lt;linux/init.h&gt;.  Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sparc: move symbol exporters to use export.h not module.h</title>
<updated>2011-10-31T23:30:53Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2011-07-22T17:18:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=066bcaca51946c8305e3d637a795e8ccf8dbd3cf'/>
<id>urn:sha1:066bcaca51946c8305e3d637a795e8ccf8dbd3cf</id>
<content type='text'>
Many of the core sparc kernel files are not modules, but just
including module.h for exporting symbols.  Now these files can
use the lighter footprint export.h for this role.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>sparc: Implement of_iomap().</title>
<updated>2011-03-18T22:47:26Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2011-03-18T22:47:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9889376ab91f89a5af7329ae34521dfc4b613ba9'/>
<id>urn:sha1:9889376ab91f89a5af7329ae34521dfc4b613ba9</id>
<content type='text'>
Grab the pre-computed resource and map using of_ioremap().

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sparc: Implement of_address_to_resource().</title>
<updated>2011-03-18T22:31:19Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2011-03-18T22:31:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=930952af15f8425115528447102ed97610e98949'/>
<id>urn:sha1:930952af15f8425115528447102ed97610e98949</id>
<content type='text'>
Similarly to irq_of_parse_and_map(), find the platform_device
object and return the pre-computed resource.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>of: make of_find_device_by_node generic</title>
<updated>2010-07-24T15:58:22Z</updated>
<author>
<name>Jonas Bonn</name>
</author>
<published>2010-07-23T17:19:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c608558407aa64d2b98d58bfc116e95c0afb357e'/>
<id>urn:sha1:c608558407aa64d2b98d58bfc116e95c0afb357e</id>
<content type='text'>
There's no need for this function to be architecture specific and all four
architectures defining it had the same definition.  The function has been
moved to drivers/of/platform.c.

Signed-off-by: Jonas Bonn &lt;jonas@southpole.se&gt;
[grant.likely@secretlab.ca: moved to drivers/of/platform.c, simplified code, and added kerneldoc comment]
Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>sparc: remove references to of_device and to_of_device</title>
<updated>2010-07-24T15:58:22Z</updated>
<author>
<name>Grant Likely</name>
</author>
<published>2010-07-22T22:04:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd4cd7306a403f62ef3ca783b9d1cf2a03e595ed'/>
<id>urn:sha1:cd4cd7306a403f62ef3ca783b9d1cf2a03e595ed</id>
<content type='text'>
of_device is just a #define alias to platform_device.  This patch
replaces all references to it with platform_device.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>of/platform: remove all of_bus_type and of_platform_bus_type references</title>
<updated>2010-07-24T15:57:52Z</updated>
<author>
<name>Grant Likely</name>
</author>
<published>2010-06-24T21:14:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1ab1d63a85cee2545272f63a7644e9f855cb65d0'/>
<id>urn:sha1:1ab1d63a85cee2545272f63a7644e9f855cb65d0</id>
<content type='text'>
Both of_bus_type and of_platform_bus_type are just #define aliases
for the platform bus.  This patch removes all references to them and
switches to the of_register_platform_driver()/of_unregister_platform_driver()
API for registering.

Subsequent patches will convert each user of of_register_platform_driver()
into plain platform_drivers without the of_platform_driver shim.  At which
point the of_register_platform_driver()/of_unregister_platform_driver()
functions can be removed.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>of: Merge of_platform_bus_type with platform_bus_type</title>
<updated>2010-07-24T15:57:51Z</updated>
<author>
<name>Grant Likely</name>
</author>
<published>2010-06-08T13:48:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eca3930163ba8884060ce9d9ff5ef0d9b7c7b00f'/>
<id>urn:sha1:eca3930163ba8884060ce9d9ff5ef0d9b7c7b00f</id>
<content type='text'>
of_platform_bus was being used in the same manner as the platform_bus.
The only difference being that of_platform_bus devices are generated
from data in the device tree, and platform_bus devices are usually
statically allocated in platform code.  Having them separate causes
the problem of device drivers having to be registered twice if it
was possible for the same device to appear on either bus.

This patch removes of_platform_bus_type and registers all of_platform
bus devices and drivers on the platform bus instead.  A previous patch
made the of_device structure an alias for the platform_device structure,
and a shim is used to adapt of_platform_drivers to the platform bus.

After all of of_platform_bus drivers are converted to be normal platform
drivers, the shim code can be removed.

Signed-off-by: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
