mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
dmx_usb_module: fix build against kernel 4.14
The change should also work fine with older kernels, as <linux/uaccess.h> has existed for a long time, and it includes <asm/uaccess.h>. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/dmx_usb.c
|
||||
+++ b/dmx_usb.c
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <linux/module.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/completion.h>
|
||||
-#include <asm/uaccess.h>
|
||||
+#include <linux/uaccess.h>
|
||||
#include <linux/usb.h>
|
||||
#include <linux/version.h>
|
||||
|
||||
Reference in New Issue
Block a user