lkml.org 
[lkml]   [2011]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] spi: spidev: Add 32 bit compat ioctl()
Am 02.02.2011 15:15, schrieb Grant Likely:
>> static int spidev_open(struct inode *inode, struct file *filp)
>> {
>> struct spidev_data *spidev;
>> @@ -543,6 +552,9 @@ static const struct file_operations spidev_fops = {
>> .write = spidev_write,
>> .read = spidev_read,
>> .unlocked_ioctl = spidev_ioctl,
>> +#ifdef CONFIG_COMPAT
>> + .compat_ioctl = spidev_compat_ioctl,
>> +#endif
>
> Then the #ifdef/#endif can be dropped here which is tidier.

Ok, thanks, I resent the patch with that modification.


Regards,
Bernhard


\
 
 \ /
  Last update: 2011-02-03 09:41    [W:0.048 / U:0.040 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site