summaryrefslogtreecommitdiff
path: root/src/include/device
diff options
context:
space:
mode:
authorMaciej Pijanka <maciej.pijanka@gmail.com>2009-10-27 14:29:29 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-27 14:29:29 +0000
commitea92185755a578d9a1b5df5cbf7b05ee2cea2390 (patch)
treed7ffa935cad6e5ae7b50fa5c9ec158e0493df0c5 /src/include/device
parent18d7c2e31e868c9f9f78b907f607b8a1b98b46aa (diff)
downloadcoreboot-ea92185755a578d9a1b5df5cbf7b05ee2cea2390.tar.xz
Add few missing prototypes, and remove few unused (thus lonelly) variables.
TODO - x86emu need (imo) some common header with prototypes at least - clog2, ulzma, hardwaremain prototypes added by this patch probably should be moved to some header too. - in src/devices/device_util.c prototype is before function because seems, it is used only within same file, if not it should be moved to debug section of prototypes in include/device/device.h Signed-off-by: Maciej Pijanka <maciej.pijanka@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4871 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/device')
-rw-r--r--src/include/device/device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 5e0e19a2e5..eba6eb50c6 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -132,6 +132,7 @@ void print_resource_tree(struct device * root, int debug_level,
void show_devs_tree(struct device *dev, int debug_level, int depth, int linknum);
void show_devs_subtree(struct device *root, int debug_level, const char *msg);
void show_all_devs(int debug_level, const char *msg);
+void show_all_devs_tree(int debug_level, const char *msg);
void show_one_resource(int debug_level, struct device *dev,
struct resource *resource, const char *comment);
void show_all_devs_resources(int debug_level, const char* msg);
@@ -152,4 +153,5 @@ void enable_childrens_resources(device_t dev);
void root_dev_enable_resources(device_t dev);
unsigned int root_dev_scan_bus(device_t root, unsigned int max);
void root_dev_init(device_t dev);
+void root_dev_reset(struct bus *bus);
#endif /* DEVICE_H */