net: Clarify the documentation of net_if_dev
The documentation of net_if_dev was missing information how it should be instantiated. Fixes #59975 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
e1964b8a82
commit
77c86e8ad3
1 changed files with 2 additions and 1 deletions
|
@ -465,7 +465,8 @@ typedef int (*net_socket_create_t)(int, int, int);
|
|||
* and the network device.
|
||||
*
|
||||
* Because of the strong relationship between a device driver and such
|
||||
* network interface, each net_if_dev should be instantiated by
|
||||
* network interface, each net_if_dev should be instantiated by one of the
|
||||
* network device init macros found in net_if.h.
|
||||
*/
|
||||
struct net_if_dev {
|
||||
/** The actually device driver instance the net_if is related to */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue