Skip to content

Commit

Permalink
<asm/uaccess.h> was deprecated in 4.12 and new code should use <linux…
Browse files Browse the repository at this point in the history
  • Loading branch information
jsanelli committed Nov 25, 2017
1 parent a151288 commit 9f2653c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/kernel/ebbchar/ebbchar.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <linux/device.h> // Header to support the kernel Driver Model
#include <linux/kernel.h> // Contains types, macros, functions for the kernel
#include <linux/fs.h> // Header for the Linux file system support
#include <asm/uaccess.h> // Required for the copy to user function
#include <linux/uaccess.h> // Required for the copy to user function
#define DEVICE_NAME "ebbchar" ///< The device will appear at /dev/ebbchar using this value
#define CLASS_NAME "ebb" ///< The device class -- this is a character device driver

Expand Down

0 comments on commit 9f2653c

Please sign in to comment.