mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-08 10:23:47 +08:00
ltq-ptm: fix build with kernel 5.4
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
17daee647c
commit
714401cbed
@ -127,7 +127,7 @@ static int ptm_stop(struct net_device *);
|
||||
static int ptm_napi_poll(struct napi_struct *, int);
|
||||
static int ptm_hard_start_xmit(struct sk_buff *, struct net_device *);
|
||||
static int ptm_ioctl(struct net_device *, struct ifreq *, int);
|
||||
static void ptm_tx_timeout(struct net_device *, unsigned int txqueue);
|
||||
static void ptm_tx_timeout(struct net_device *);
|
||||
|
||||
/*
|
||||
* DSL Data LED
|
||||
@ -511,7 +511,7 @@ static int ptm_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void ptm_tx_timeout(struct net_device *dev, unsigned int txqueue)
|
||||
static void ptm_tx_timeout(struct net_device *dev)
|
||||
{
|
||||
int ndev;
|
||||
|
||||
|
@ -77,7 +77,7 @@ static int ptm_stop(struct net_device *);
|
||||
static int ptm_napi_poll(struct napi_struct *, int);
|
||||
static int ptm_hard_start_xmit(struct sk_buff *, struct net_device *);
|
||||
static int ptm_ioctl(struct net_device *, struct ifreq *, int);
|
||||
static void ptm_tx_timeout(struct net_device *, unsigned int txqueue);
|
||||
static void ptm_tx_timeout(struct net_device *);
|
||||
|
||||
static inline struct sk_buff* alloc_skb_rx(void);
|
||||
static inline struct sk_buff* alloc_skb_tx(unsigned int);
|
||||
@ -451,7 +451,7 @@ static int ptm_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void ptm_tx_timeout(struct net_device *dev, unsigned int txqueue)
|
||||
static void ptm_tx_timeout(struct net_device *dev)
|
||||
{
|
||||
ASSERT(dev == g_net_dev[0], "incorrect device");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user