summaryrefslogtreecommitdiff
path: root/src/devices/root_device.c
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-09 20:13:43 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-09 20:13:43 +0000
commit3fe6b7002bf8da7ecd91c2ab4e8bfdec4e80e02f (patch)
tree7db10b2b2dadc88350d747b746d899e119afcdb5 /src/devices/root_device.c
parent42584096c30440ecef1c50322f2f39ccbc9e5230 (diff)
downloadcoreboot-3fe6b7002bf8da7ecd91c2ab4e8bfdec4e80e02f.tar.xz
Add const to get rid of some warnings when passing quoted strings.
Remove an unused extern declaration. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4756 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/root_device.c')
-rw-r--r--src/devices/root_device.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/devices/root_device.c b/src/devices/root_device.c
index affb75b553..b8d56b646b 100644
--- a/src/devices/root_device.c
+++ b/src/devices/root_device.c
@@ -182,11 +182,3 @@ struct device_operations default_dev_ops_root = {
.scan_bus = root_dev_scan_bus,
.reset_bus = root_dev_reset,
};
-
-/**
- * @brief The root of device tree.
- *
- * This is the root of the device tree. The device tree is defined in the
- * static.c file and is generated by config tool during compile time.
- */
-extern struct device dev_root;