summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/device/device.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index b52be54177..6b4f64c781 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -502,12 +502,4 @@ void scan_smbus(struct device *bus);
void scan_generic_bus(struct device *bus);
void scan_static_bus(struct device *bus);
-/* Macro to generate `struct device *` name that points to a device with the given alias. */
-#define DEV_PTR(_alias) _dev_##_alias##_ptr
-
-/* Macro to generate weak `struct device *` definition that points to a device with the given
- alias. */
-#define WEAK_DEV_PTR(_alias) \
- __weak DEVTREE_CONST struct device *const DEV_PTR(_alias)
-
#endif /* DEVICE_H */