mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 22:43:50 +01:00
Merge pull request #9834 from bergzand/pr/netdev_tap/const_driver
netdev_tap: declare netdev_driver struct as const
This commit is contained in:
commit
065e99639d
@ -155,7 +155,7 @@ static int _set(netdev_t *dev, netopt_t opt, const void *value, size_t value_len
|
||||
return res;
|
||||
}
|
||||
|
||||
static netdev_driver_t netdev_driver_tap = {
|
||||
static const netdev_driver_t netdev_driver_tap = {
|
||||
.send = _send,
|
||||
.recv = _recv,
|
||||
.init = _init,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user