drivers/eth_enc28j60: Make driver_api structure const.

Change-Id: I7b479bc1ab5805f83bf880d5db3db8f4fad52e1d
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
Marcus Shawcroft 2016-10-24 08:20:00 +01:00 committed by Anas Nashif
parent da7a00b407
commit 6ae68cc36a
1 changed files with 1 additions and 1 deletions

View File

@ -606,7 +606,7 @@ static void enc28j60_fiber_main(int arg1, int unused)
}
}
static struct eth_driver_api api_funcs = {
static const struct eth_driver_api api_funcs = {
.send = eth_enc28j60_tx,
.register_callback = eth_enc28j60_reg_cb,
};