<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/base/platform.c, branch v2.6.20</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.20</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.20'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2006-12-13T23:38:46Z</updated>
<entry>
<title>Driver core: Make platform_device_add_data accept a const pointer</title>
<updated>2006-12-13T23:38:46Z</updated>
<author>
<name>Scott Wood</name>
<email>scottwood@freescale.com</email>
</author>
<published>2006-12-04T22:57:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6eefd34fdcbd34e2cddb8b7da26d838367591954'/>
<id>urn:sha1:6eefd34fdcbd34e2cddb8b7da26d838367591954</id>
<content type='text'>
platform_device_add_data() makes a copy of the data that is given to it,
and thus the parameter can be const.  This removes a warning when data
from get_property() on powerpc is handed to platform_device_add_data(),
as get_property() returns a const pointer.

Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Driver core: "platform_driver_probe() can save codespace": save codespace</title>
<updated>2006-12-13T23:38:45Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2006-12-04T22:56:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c63e07834bb12910bea41da15b8902150f5217c2'/>
<id>urn:sha1:c63e07834bb12910bea41da15b8902150f5217c2</id>
<content type='text'>
This function can be __init

Cc: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Dmitry Torokhov &lt;dtor@mail.ru&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
<entry>
<title>Driver core: platform_driver_probe(), can save codespace</title>
<updated>2006-12-01T22:52:02Z</updated>
<author>
<name>David Brownell</name>
<email>david-b@pacbell.net</email>
</author>
<published>2006-11-17T07:28:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c67334fbdfbba533af767610cf3fde8a49710e62'/>
<id>urn:sha1:c67334fbdfbba533af767610cf3fde8a49710e62</id>
<content type='text'>
This defines a new platform_driver_probe() method allowing the driver's
probe() method, and its support code+data, to safely live in __init
sections for typical system configurations.

Many system-on-chip processors could benefit from this API, to the tune
of recovering hundreds to thousands of bytes per driver.  That's memory
which is currently wasted holding code which can never be called after
system startup, yet can not be removed.   It can't be removed because of
the linkage requirement that pointers to init section code (like, ideally,
probe support) must not live in other sections (like driver method tables)
after those pointers would be invalid.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>PM: platform_bus and late_suspend/early_resume</title>
<updated>2006-09-26T04:08:38Z</updated>
<author>
<name>David Brownell</name>
<email>david-b@pacbell.net</email>
</author>
<published>2006-09-03T20:16:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=386415d88b1ae50304f9c61aa3e0db082fa90428'/>
<id>urn:sha1:386415d88b1ae50304f9c61aa3e0db082fa90428</id>
<content type='text'>
Teach platform_bus about the new suspend_late/resume_early PM calls,
issued with IRQs off.  Do we really need sysdev and friends any more,
or can janitors start switching its users over to platform_device so
we can do a minor code-ectomy?

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[PATCH] Driver Core: Fix platform_device_add to use device_add</title>
<updated>2006-06-21T19:40:48Z</updated>
<author>
<name>Russell King</name>
<email>rmk+lkml@arm.linux.org.uk</email>
</author>
<published>2006-05-06T07:15:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e391553222211e07dfbe2f01c413b4e6d0ae32aa'/>
<id>urn:sha1:e391553222211e07dfbe2f01c413b4e6d0ae32aa</id>
<content type='text'>
platform_device_add() should be using device_add() rather
than device_register() - any platform device passed to
platform_device_add() should have already been initialised,
either by platform_device_alloc() or platform_device_register().

Signed-off-by: Russell King &lt;rmk@arm.linux.org.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] platform_bus learns about modalias</title>
<updated>2006-06-21T19:40:48Z</updated>
<author>
<name>David Brownell</name>
<email>david-b@pacbell.net</email>
</author>
<published>2006-05-29T17:37:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a0245f7ad5214cb00131d7cd176446e067c913dc'/>
<id>urn:sha1:a0245f7ad5214cb00131d7cd176446e067c913dc</id>
<content type='text'>
This patch adds modalias support to platform devices, for simpler
hotplug/coldplug driven driver setup.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Fix "frist", "fisrt", typos</title>
<updated>2006-03-21T23:21:33Z</updated>
<author>
<name>Uwe Zeisberger</name>
<email>Uwe_Zeisberger@digi.com</email>
</author>
<published>2006-03-21T23:21:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=80682fa9f70932950c913fd10411c004c4c2e8b0'/>
<id>urn:sha1:80682fa9f70932950c913fd10411c004c4c2e8b0</id>
<content type='text'>
Signed-off-by: Uwe Zeisberger &lt;Uwe_Zeisberger@digi.com&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] driver core: platform_get_irq*(): return -ENXIO on error</title>
<updated>2006-03-20T21:42:57Z</updated>
<author>
<name>David Vrabel</name>
<email>dvrabel@arcom.com</email>
</author>
<published>2006-01-19T17:52:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=305b3228f9ff4d59f49e6d34a7034d44ee8ce2f0'/>
<id>urn:sha1:305b3228f9ff4d59f49e6d34a7034d44ee8ce2f0</id>
<content type='text'>
platform_get_irq*() cannot return 0 on error as 0 is a valid IRQ on some
platforms, return -ENXIO instead.

Signed-off-by: David Vrabel &lt;dvrabel@arcom.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] platform-device-del typo fix</title>
<updated>2006-01-13T19:26:11Z</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2005-12-27T18:45:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2d7b5a70e01ff8b1b054d8313362e454e3057c5a'/>
<id>urn:sha1:2d7b5a70e01ff8b1b054d8313362e454e3057c5a</id>
<content type='text'>
Please fold this typo fix into platform-device-del.patch, as was
discussed earlier on LKML:
  http://lkml.org/lkml/2005/12/10/76

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] Driver Core: Rearrange exports in platform.c</title>
<updated>2006-01-05T00:18:09Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dtor_core@ameritech.net</email>
</author>
<published>2005-12-10T06:36:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a96b204208443ab7e23c681f7ddabe807a741d0c'/>
<id>urn:sha1:a96b204208443ab7e23c681f7ddabe807a741d0c</id>
<content type='text'>
Driver core: rearrange exports in platform.c

The new way is to specify export right after symbol definition.
Rearrange exports to follow new style to avoid mixing two styles
in one file.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
