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

Driver update for linux kernel API change

This commit is contained in:
Alex Forencich 2020-02-25 12:36:43 -08:00
parent 7977c3003b
commit bfe537e614

View File

@ -33,9 +33,13 @@ either expressed or implied, of The Regents of the University of California.
#include "mqnic.h"
#include <linux/module.h>
#include <linux/pci-aspm.h>
#include <linux/version.h>
#include <linux/delay.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(5,4,0)
#include <linux/pci-aspm.h>
#endif
MODULE_DESCRIPTION("mqnic driver");
MODULE_AUTHOR("Alex Forencich");
MODULE_LICENSE("Dual MIT/GPL");