|
@@ -63,7 +63,7 @@ static int display_open(struct inode *inode, struct file *file);
|
|
|
static int display_close(struct inode *inode, struct file *file);
|
|
|
|
|
|
/* VFD write operation */
|
|
|
-static ssize_t vfd_write(struct file *file, const char *buf,
|
|
|
+static ssize_t vfd_write(struct file *file, const char __user *buf,
|
|
|
size_t n_bytes, loff_t *pos);
|
|
|
|
|
|
/* LIRC driver function prototypes */
|
|
@@ -369,7 +369,7 @@ static int send_packet(struct imon_context *context)
|
|
|
* than 32 bytes are provided spaces will be appended to
|
|
|
* generate a full screen.
|
|
|
*/
|
|
|
-static ssize_t vfd_write(struct file *file, const char *buf,
|
|
|
+static ssize_t vfd_write(struct file *file, const char __user *buf,
|
|
|
size_t n_bytes, loff_t *pos)
|
|
|
{
|
|
|
int i;
|