1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

Add missing includes

This commit is contained in:
Alex Forencich 2021-08-20 18:08:22 -07:00
parent 43364943e1
commit 8bf38e20c7
2 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,8 @@ either expressed or implied, of The Regents of the University of California.
#include "mqnic.h"
#include "mqnic_ioctl.h"
#include <linux/uaccess.h>
static int mqnic_open(struct inode *inode, struct file *file)
{
// struct miscdevice *miscdev = file->private_data;

View File

@ -33,6 +33,8 @@ either expressed or implied, of The Regents of the University of California.
#include "mqnic.h"
#include <linux/ethtool.h>
#define SFF_MODULE_ID_SFP 0x03
#define SFF_MODULE_ID_QSFP 0x0c
#define SFF_MODULE_ID_QSFP_PLUS 0x0d