Skip to content
Commit 2aed7af3 authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: iss: extract and constify network callbacks



Instead of storing pointers to callback functions in the
struct iss_net_private::tp move them to struct struct iss_net_ops and
store a const pointer to it. Make static const tuntap_ops structure with
tuntap callbacks and initialize tp.net_ops with it in the tuntap_probe.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent b7a861a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment