Kill a few dozen more warnings so I can see when I break things.
1. Add const when functions are passed quoted strings. 2. Remove redundant dev_root declaration and move its documentation.
Signed-off-by: Myles Watson mylesgw@gmail.com
Thanks, Myles
On Fri, Oct 9, 2009 at 2:11 PM, ron minnich rminnich@gmail.com wrote:
Acked-by: Ronald G. Minnich rminnich@gmail.com
Rev 4756.
Thanks, Myles
Myles Watson wrote:
+++ svn/src/include/device/device.h @@ -90,7 +90,11 @@ struct device { void *chip_info; };
-extern struct device dev_root; /* root bus */ +/**
- This is the root of the device tree. The device tree is defined in the
- static.c file and is generated by the config tool at compile time.
- */
+extern struct device dev_root;
Do we actually have a static.c file?
How does this change with Kconfig?
It's related to devicetree.cb somehow, right?
//Peter
Am Freitag, den 09.10.2009, 22:17 +0200 schrieb Peter Stuge:
Do we actually have a static.c file? How does this change with Kconfig?
It doesn't.
It's related to devicetree.cb somehow, right?
Yes, it's generated by sconfig, which is newconfig-without-the-buildsystem-crap, which uses devicetree.cb, which is Config.lb-without-the-buildsystem-crap :-)
Patrick
On Fri, Oct 9, 2009 at 1:21 PM, Patrick Georgi patrick@georgi-clan.de wrote:
Am Freitag, den 09.10.2009, 22:17 +0200 schrieb Peter Stuge:
Do we actually have a static.c file? How does this change with Kconfig?
It doesn't.
It's related to devicetree.cb somehow, right?
Yes, it's generated by sconfig, which is newconfig-without-the-buildsystem-crap, which uses devicetree.cb, which is Config.lb-without-the-buildsystem-crap :-)
and only 1000 lines of python crap as opposed to 3000+
:-)
ron