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:
parent
da7a00b407
commit
6ae68cc36a
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue