]>
Commit | Line | Data |
---|---|---|
a5dd1d72 AA |
1 | #ifndef __IEEE802154_CORE_H |
2 | #define __IEEE802154_CORE_H | |
3 | ||
4 | #include <net/cfg802154.h> | |
5 | ||
6 | struct cfg802154_registered_device { | |
7 | const struct cfg802154_ops *ops; | |
8 | ||
9 | /* must be last because of the way we do wpan_phy_priv(), | |
10 | * and it should at least be aligned to NETDEV_ALIGN | |
11 | */ | |
12 | struct wpan_phy wpan_phy __aligned(NETDEV_ALIGN); | |
13 | }; | |
14 | ||
15 | /* free object */ | |
16 | void cfg802154_dev_free(struct cfg802154_registered_device *rdev); | |
17 | ||
18 | #endif /* __IEEE802154_CORE_H */ |