We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2d1514 commit 184a546Copy full SHA for 184a546
include/zephyr/device.h
@@ -882,8 +882,7 @@ static inline bool z_impl_device_is_ready(const struct device *dev)
882
extern Z_DEVICE_HANDLES_CONST device_handle_t \
883
Z_DEVICE_HANDLE_NAME(node_id, dev_id)[]; \
884
Z_DEVICE_HANDLES_CONST Z_DECL_ALIGN(device_handle_t) \
885
- __attribute__((__weak__, \
886
- __section__(".__device_handles_pass1"))) \
+ __attribute__((__section__(".__device_handles_pass1"))) __weak \
887
Z_DEVICE_HANDLE_NAME(node_id, dev_id)[] = { \
888
COND_CODE_1(DT_NODE_EXISTS(node_id), ( \
889
DT_DEP_ORD(node_id), \
0 commit comments