summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/device_const.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device/device_const.c b/src/device/device_const.c
index 5a3e89bfb9..c46f283608 100644
--- a/src/device/device_const.c
+++ b/src/device/device_const.c
@@ -34,7 +34,8 @@ DEVTREE_CONST struct device * DEVTREE_CONST all_devices = &dev_root;
* @param devfn A device/function number.
* @return Pointer to the device structure (if found), 0 otherwise.
*/
-DEVTREE_CONST struct device *dev_find_slot(unsigned int bus,
+
+static DEVTREE_CONST struct device *dev_find_slot(unsigned int bus,
unsigned int devfn)
{
DEVTREE_CONST struct device *dev, *result;