1
0
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:
Martine Lenders 2018-08-24 15:53:05 +02:00 committed by GitHub
commit 065e99639d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,