summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/device.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 88b5310055..623d337601 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -191,11 +191,7 @@ void dev_set_enabled(struct device *dev, int enable);
void disable_children(struct bus *bus);
bool dev_is_active_bridge(struct device *dev);
void add_more_links(struct device *dev, unsigned int total_links);
-
-static inline bool is_dev_enabled(const struct device *const dev)
-{
- return dev && dev->enabled;
-}
+bool is_dev_enabled(const struct device *const dev);
/* Option ROM helper functions */
void run_bios(struct device *dev, unsigned long addr);