Permalink
Browse files

<asm/uaccess.h> was deprecated in 4.12 and new code should use <linux…

  • Loading branch information...
jsanelli committed Nov 25, 2017
1 parent a151288 commit 9f2653ce021e55e8167d4067fc5414bd4d2b4ca4
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 9f2653c

Please sign in to comment.