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:
parent
7977c3003b
commit
bfe537e614
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user