Browse files

Merge pull request #16 from jsanelli/update-include-uaccess

<asm/uaccess.h> was deprecated in 4.12 and new code should use <linux…
  • Loading branch information...
derekmolloy committed Nov 29, 2017
2 parents a151288 + 9f2653c commit 31432781ce8fe83bd759fb04f74b869dc92a583e
Showing with 1 addition and 1 deletion.
  1. +1 −1 extras/kernel/ebbchar/ebbchar.c
@@ -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

0 comments on commit 3143278

Please sign in to comment.