summaryrefslogtreecommitdiffstats
path: root/include/net/ax25.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/ax25.h')
-rw-r--r--include/net/ax25.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ax25.h b/include/net/ax25.h
index c2a85fd3f5..0d939e5aee 100644
--- a/include/net/ax25.h
+++ b/include/net/ax25.h
@@ -216,7 +216,7 @@ typedef struct {
struct ctl_table;
typedef struct ax25_dev {
- struct list_head list;
+ struct ax25_dev *next;
struct net_device *dev;
netdevice_tracker dev_tracker;
@@ -330,6 +330,7 @@ int ax25_addr_size(const ax25_digi *);
void ax25_digi_invert(const ax25_digi *, ax25_digi *);
/* ax25_dev.c */
+extern ax25_dev *ax25_dev_list;
extern spinlock_t ax25_dev_lock;
#if IS_ENABLED(CONFIG_AX25)