summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorMyles Watson <mylesgw@gmail.com>2009-10-13 20:00:09 +0000
committerMyles Watson <mylesgw@gmail.com>2009-10-13 20:00:09 +0000
commit54913b98e53f5bb596732b172791326268afbae0 (patch)
treecab8ea7098af371b6369e20601f4a6c8f76bb43a /src/devices
parent95aa53a5c3b84b6593714db59fa8a2b2180d47b0 (diff)
Remove a couple more warnings. Trivial.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4768 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/device.c b/src/devices/device.c
index daa884d8fb..0dd6e0bf47 100644
--- a/src/devices/device.c
+++ b/src/devices/device.c
@@ -235,7 +235,7 @@ static struct device *largest_resource(struct bus *bus,
* the allocator. Also this allows handling of other types of bridges.
*
*/
-void compute_resources(struct bus *bus, struct resource *bridge,
+static void compute_resources(struct bus *bus, struct resource *bridge,
unsigned long type_mask, unsigned long type)
{
struct device *dev;
@@ -392,7 +392,7 @@ void compute_resources(struct bus *bus, struct resource *bridge,
* @param type_mask This value gets anded with the resource type.
* @param type This value must match the result of the and.
*/
-void allocate_resources(struct bus *bus, struct resource *bridge,
+static void allocate_resources(struct bus *bus, struct resource *bridge,
unsigned long type_mask, unsigned long type)
{
struct device *dev;