提交 8ac5ac1b 编写于 作者: J Jian-Hong Pan 提交者: Jonathan Corbet

doc: linux-wpan: Change the old function names to the lastest function names

The function declaration in the lastest include/net/mac802154.h has been
changed since v3.19.

ieee802154_alloc_device => ieee802154_alloc_hw
ieee802154_free_device => ieee802154_free_hw
ieee802154_register_device => ieee802154_register_hw
ieee802154_unregister_device => ieee802154_unregister_hw

However, the description in the Device drivers API section of
Documentation/networking/ieee802154.txt is still in the state of
v3.18.63.
Signed-off-by: NJian-Hong Pan <starnight@g.ncu.edu.tw>
Acked-by: NStefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: NJonathan Corbet <corbet@lwn.net>
上级 720688c4
...@@ -84,17 +84,17 @@ Device drivers API ...@@ -84,17 +84,17 @@ Device drivers API
================== ==================
The include/net/mac802154.h defines following functions: The include/net/mac802154.h defines following functions:
- struct ieee802154_dev *ieee802154_alloc_device - struct ieee802154_hw *
(size_t priv_size, struct ieee802154_ops *ops): ieee802154_alloc_hw(size_t priv_data_len, const struct ieee802154_ops *ops):
allocation of IEEE 802.15.4 compatible device allocation of IEEE 802.15.4 compatible hardware device
- void ieee802154_free_device(struct ieee802154_dev *dev): - void ieee802154_free_hw(struct ieee802154_hw *hw):
freeing allocated device freeing allocated hardware device
- int ieee802154_register_device(struct ieee802154_dev *dev): - int ieee802154_register_hw(struct ieee802154_hw *hw):
register PHY in the system register PHY which is the allocated hardware device, in the system
- void ieee802154_unregister_device(struct ieee802154_dev *dev): - void ieee802154_unregister_hw(struct ieee802154_hw *hw):
freeing registered PHY freeing registered PHY
Moreover IEEE 802.15.4 device operations structure should be filled. Moreover IEEE 802.15.4 device operations structure should be filled.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册