Lines 596-602
Link Here
|
596 |
|
596 |
|
597 |
static int cpad_driver_num = CPAD_DRIVER_NUM; |
597 |
static int cpad_driver_num = CPAD_DRIVER_NUM; |
598 |
|
598 |
|
599 |
static int cpad_ioctl(struct inode *inode, struct file *file, |
599 |
static long cpad_unlocked_ioctl(struct file *file, |
600 |
unsigned int cmd, unsigned long arg) |
600 |
unsigned int cmd, unsigned long arg) |
601 |
{ |
601 |
{ |
602 |
struct syndisplay *display; |
602 |
struct syndisplay *display; |
Lines 693-699
Link Here
|
693 |
.owner = THIS_MODULE, |
693 |
.owner = THIS_MODULE, |
694 |
.read = cpad_read, |
694 |
.read = cpad_read, |
695 |
.write = cpad_write, |
695 |
.write = cpad_write, |
696 |
.ioctl = cpad_ioctl, |
696 |
.unlocked_ioctl = cpad_unlocked_ioctl, |
697 |
.open = cpad_open, |
697 |
.open = cpad_open, |
698 |
.release = cpad_release, |
698 |
.release = cpad_release, |
699 |
.flush = cpad_flush, |
699 |
.flush = cpad_flush, |