mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
modules/mqnic: Add missing priv reference
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
parent
6887a4a004
commit
82df10a356
@ -325,6 +325,7 @@ static int mqnic_query_module_id(struct net_device *ndev)
|
|||||||
static int mqnic_query_module_eeprom_by_page(struct net_device *ndev,
|
static int mqnic_query_module_eeprom_by_page(struct net_device *ndev,
|
||||||
unsigned short i2c_addr, u16 page, u16 bank, u16 offset, u16 len, u8 *data)
|
unsigned short i2c_addr, u16 page, u16 bank, u16 offset, u16 len, u8 *data)
|
||||||
{
|
{
|
||||||
|
struct mqnic_priv *priv = netdev_priv(ndev);
|
||||||
int module_id;
|
int module_id;
|
||||||
u8 d;
|
u8 d;
|
||||||
int ret;
|
int ret;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user